Hello.
Wonder if there any way to save HTML page which comes as a result of executing of PHP script? I know there are a few ways to display this result using ShellExecute or nsWeb plug-in. But I need to save result html page and than parse it.
Thanks.
Save html page
11 posts
It you control the server it is much less work if you just return a .ini file or something like that.
Thank you, this probably would be the best and easiest way. But what if anyway I don't control server and can display result of executing php in the nsWeb windows or in bowser only?Originally Posted by Anders View PostIt you control the server it is much less work if you just return a .ini file or something like that.
Use INetC to download the page to $pluginsdir. Maybe one of the XML plugins are able to open html files...
Unfortunately, php script need to be execute first and for this purpose browser is needed. Installer is not recognized as browser 🙁Originally Posted by Anders View PostUse INetC to download the page to $pluginsdir. Maybe one of the XML plugins are able to open html files...
PHP is executed on the server. Did you even try using InetC? When you download a page, it will already be served as HTML.Originally Posted by oldfriend View PostUnfortunately, php script need to be execute first and for this purpose browser is needed. Installer is not recognized as browser 🙁
Sure 🙂 Exactly with using inetc I get message like thisOriginally Posted by Yathosho View PostPHP is executed on the server. Did you even try using InetC? When you download a page, it will already be served as HTML.
This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support Let's pretend for a second that I understand the need to execute JavaScript inside an installer (other than annoying ads).
A couple of questions for you:
1. Did you download the required script (relative paths?)
2. Does IWebBrowser2 even support JavaScript execution?
3. Does your script run on IE7 or whatever ancient version the browser control is based on?
A couple of questions for you:
1. Did you download the required script (relative paths?)
2. Does IWebBrowser2 even support JavaScript execution?
3. Does your script run on IE7 or whatever ancient version the browser control is based on?
You can kill me but inetc::get really works! My respect!Originally Posted by Yathosho View PostLet's pretend for a second that I understand the need to execute JavaScript inside an installer (other than annoying ads).
A couple of questions for you:
1. Did you download the required script (relative paths?)
2. Does IWebBrowser2 even support JavaScript execution?
3. Does your script run on IE7 or whatever ancient version the browser control is based on?
Hell! Sometimes it works, sometimes doesn't.
INetC is not a browser, it does not run javascript or anything like that, it just uses WinInet to download files over http/ftp...