Re: [PHP-WIN] apache + php + system() = error :(

2001-03-20 Thread Joe Brown
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

Re: [PHP-WIN] apache + php + system() = error :(

2001-03-20 Thread Jürgen Lasn
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

Re: [PHP-WIN] apache + php + system() = error :(

2001-03-19 Thread Joe Brown
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

Re: [PHP-WIN] apache + php + system() = error :(

2001-03-15 Thread Jürgen Lasn
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?

RE: [PHP-WIN] apache + php + system() = error :(

2001-03-15 Thread Fernando Madruga
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 200