|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
|
|||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
FW: exec php.exe in windows
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 <monthand <branchto build up a report in export/Balance.html exec('c:\php\php -q Balance.php export=all branch=<branchmonth=<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 |
|
#2
|
|||
|
|||
|
FW: exec php.exe in windows
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 <monthand <branchto build up a report in export/Balance.html exec('c:\php\php -q Balance.php export=all branch=<branchmonth=<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() ;) -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
![]() |
| Viewing: Web Development Archives > Mailing Lists > PHP - Windows > FW: exec php.exe in windows |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|