It looks like you may have to venture down another road.
I haven't been able to execute a batch file either.
I enjoyed the error returned by popen:
Warning: popen("cmd /c d:\wwwroot\blah.bat","r") - No error in
d:\wwwroot\test.php on line 2
wrote in message
997d6d$p0p$[EMAIL PROTECTED]">news:99
well... i understood your comment and it is clear that windows systems don't
use forking, but under w32 processes can have child's (children ? :) but i
can't understand why are functions that need forking (???) enabled? ...
but after all this -forking- is not the issue here ... the real problem
Forking is a unix thing... What happens when a process comes to a fork in
the road, it splits and continues in two directions.
You can't execute a batch file, you need the command intrepreter to handle
that one, so the previous suggestion should be accurate. If you're on NT or
2000, maybe cmd.e
Hi!
No the error is not generated while exec'ing external program but while it
attemts to call the system() command ... it's like the system() and exec()
are malfuncioning ... using backticks (`) made the script to hang there
is something very fundamental that i do wrong but ... where? what?
: quinta-feira, 15 de Março de 2001 12:19
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] apache + php + system() = error :(
Hi!
i have PHP version 4.0.4pl1 running on apache webserver and i have trouble
using command "system" it gives me errormessage :
Warning: Unable to fork [batch.bat] in c:
Hi!
i have PHP version 4.0.4pl1 running on apache webserver and i have trouble
using command "system" it gives me errormessage :
Warning: Unable to fork [batch.bat] in c:/apache/htdocs/xxx/xxx/index.php on
line xx
and on line xx is :
$bla=system("batch.bat",$ex_code);
HOW can i make it FOR