Env: IIS, Windows XP, PHP 4.3.10 (cgi-fcgi)
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 launched by an HTTP server.
In Windows it works from the command line but hangs when launched
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
Chuck
I tred what you suggested - but it did not help
Btw I am using IIS on Windows
Sounds similar to something I had going on. In Control Panel -
Administrative Tools - Services (I don't know of a shorter way to get
there), I had to right-click on the Apache service and under Log On -
check
3 matches
Mail list logo