By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,039 Members | 1,824 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,039 IT Pros & Developers. It's quick & easy.

Get exception everytime I try to do this.

P: n/a
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
$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.



Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a
Hi Troy,

What is the exception that you are getting? Please post the exact error


Jul 17 '05 #2

P: n/a
Here is the error I get.
PHP has encountered an Access Violation at 018952DF



Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.