Get exception everytime I try to do this.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • djwyldeone@yahoo.com

    Get exception everytime I try to do this.

    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_VA RS['mixid'].".mp3 -o
    D:/inetpub/liquid/content/".$HTTP_POST_VA RS['mixid'].".rm -ad \"28k\"";

    $WshShell = new COM("WScript.Sh ell");
    $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

  • Kartic

    #2
    Re: Get exception everytime I try to do this.

    Hi Troy,

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

    Thanks,
    --Kartic

    Comment

    • wyldeone

      #3
      Re: Get exception everytime I try to do this.

      Here is the error I get.
      PHP has encountered an Access Violation at 018952DF

      Thanks,

      Troy

      Comment

      Working...