Hi!
A batch, like the following one, works Ok:
PHP myscript.php > result.htm
It makes the PHP to direct its output to the HTML file, that can be opened and viewed. No server is running, everything is on local computer.
My question: is there any PHP command option to avoid a redirection through > ? Something like this:
PHP -q -oc:\result.htm myscript.php
My problem: when I\'m trying to run this command from a Delphi application through WinExec or CreateProcess the redirection does not work.
Of course at every time I could create a temporary batch and run it, but I wouldn\'t. Eh, any solution? Thanks!