hi,
i've searched the forums, but only found one thread with no answers really..
i'm running PHP4 on a Windows 2000 server, and i can't seem to use the system(); command correctly.
I keep getting this error:
Warning: Unable to fork [command] in page on line line
i suppose if i turned warnings off, it may be successful, but what exactly is the problem here?
reason being: i am trying to use psservice to remotely start/stop a service, but i can't seem to get the command to work.
syntax is something like:
psservice \ipaddress -u username -p password query SERVICENAME
anyways, when i turn off warnings the script executes, but not correctly.. maybe due to this "forking" problem?
I also had to change the command to \\ipaddress to get it to work...
Note: this works in perl, but for some reason php doesn't like it...
I suppose i just really need to know how to fix this forking problem... (maybe in the .ini) or whether i should just give up and use perl.. =\
anyways, thanks for the help.
jay