You could try replacing "batch.bat" with "c:\windows\command.com /c
batch.bat" for windows 9x or "C:\winnt\cmd.exe /c batch.bat" or something
like that.
HTH,
Fernando Madruga
-----Original Message-----
From: Jürgen Lasn [mailto:jyrgen[@][EMAIL PROTECTED]]
Sent: 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:/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 FORK ... or run the bat-script?
thnx in advance,
Jürgen Lasn from Estonia.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]