This is a discussion on Get exception everytime I try to do this. within the PHP Language forums, part of the PHP Programming Forums category; I'm trying to run a command that is ran in the background and is released from php. This was ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm trying to run a command that is ran in the background and is
released from php. This was working code but when I upgraded to 4.3.8 it stopped working with an exception. Below is the code I'm working with. $exec = "D:/inetpub/bgrun.exe c:/progra~1/real/helixp~1/producer.exe -i D:/inetpub/liquid/content/".$HTTP_POST_VARS['mixid'].".mp3 -o D:/inetpub/liquid/content/".$HTTP_POST_VARS['mixid'].".rm -ad \"28k\""; $WshShell = new COM("WScript.Shell"); $oExec = $WshShell->Run($exec, 0, false); I've went through the code and it's definitly coming from these lines. nothing has change except for the version of php. Any help would be apreciated greatly. peace troy |