RE: [PHP-WIN] apache + php + system() = error :(
| From: | Fernando Madruga | Date: | Thu, 15 Mar 2001 12:30:59 +0000 |
| Subject: | RE: [PHP-WIN] apache + php + system() = error :( | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-6056@lists.php.net to get a copy of this message | ||
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[@]phon.ioc.ee@toye.php.net]
Sent: quinta-feira, 15 de Março de 2001 12:19
To: php-windows@lists.php.net
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: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net