Hi, all
I am having problems executing a batch file on a win2k server machine running PHP 4.2.3. When i just double click the batch file from an explorer window, it runs and does what it is meant to do. The problem is that i need to be able to do this on demand, so clicking on a file is not an option!
When i run the code on a win2k pro box, running PHP 4.3.2 it does exactly what i want it to do, but running it on the server machine it just sits there doing nothing! When i run it on a XP Pro box, i get "Can't fork to...." whatever the hell that means!
this is the bit of code:
exec("search_generator.bat"
;
which in turn goes off and executes a program!
Any ideas?
TIA
Tony
I am having problems executing a batch file on a win2k server machine running PHP 4.2.3. When i just double click the batch file from an explorer window, it runs and does what it is meant to do. The problem is that i need to be able to do this on demand, so clicking on a file is not an option!
When i run the code on a win2k pro box, running PHP 4.3.2 it does exactly what i want it to do, but running it on the server machine it just sits there doing nothing! When i run it on a XP Pro box, i get "Can't fork to...." whatever the hell that means!
this is the bit of code:
exec("search_generator.bat"

which in turn goes off and executes a program!
Any ideas?
TIA
Tony