php-windows Digest 23 Jan 2006 16:51:18 -0000 Issue 2871

Topics (messages 26643 through 26643):

Re: exec php.exe in windows
        26643 by: El Bekko

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
Dave Kennedy wrote:
Env:
Windows XP
PHP 4.3.10 (cgi-fcgi)
I am trying to capture the html output of Balance.php to a file:
The code loops over <month> and <branch> to build up a report in
export/Balance.html
exec('c:\php\php -q Balance.php export=all branch=<branch> month=<month>
login=admin password=admin >> export/Balance.html');
This command works in Linux when called from a web page. In Windows it works from the command line but from a web page it hangs - a cmd and php process are left running in
the Windows Task Manager
Any help would be greatly appreciated


Try using fwrite() ;)

--- End Message ---

Reply via email to