Executing Exe File in PHP on Windows XP Servers

  • Thread starter Thread starter Alice Wei
  • Start date Start date
A

Alice Wei

Guest
Hi,

I am wondering if anyone on this list could help me with the following
error. I have a snippet of code that calls an exe file before it starts
processing anything else from the php file.

The code is called as follows:

//execute program
shell_exec("C:\Inetpub\wwwroot\incidence\my-manager.exe -d$date -p$event");


The entire program works most of the time without my further edits, but
sometimes I cannot get the entire program to finish execution because I
see a Visual Studio error pop up window asking if I would like to bug
due to the code snippet above.

Since I execute PHP files with other applications, such an error from
Visual Studio pop up window prohibits me from running the applications.
I don't think this is something normal, which I welcome anyone to offer
me some suggestions on how to get away with this kind of error.

Thanks in advance.

Alice
 
RE: An Unhandled win32 exception occurred [2372]

RE: An Unhandled win32 exception occurred [2372]

Hi,

I have been looking around for documents on http://www.microsoft.com on
the generation of win32 exception errors, but I am not exactly sure what
steps I should
take when the debugger is triggered by either a Shockwave file application,
or from an HTTP Request. When I only run the application using cmd, it does
not give me any errors.

Is there something I should try that I have not?

Thanks in advance.
 
Back
Top