Re: Executing External Application

From: Date: Wed, 14 Jun 2006 16:57:08 +0000
Subject: Re: Executing External Application
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-26995@lists.php.net to get a copy of this message
You should only run console applications, not gui apps.. Also, by default Apache is installed as a system service, and in that case it doesn't make sense to run graphical apps.. -- // DvDmanDT mail: dvdmandt¤telia.com msn: dvdmandt¤hotmail.com "Brian Stakes" <brian.stakes@voipsupply.com> skrev i meddelandet news:44903E24.5050709@voipsupply.com... >I am trying use PHP to run an application on Windows XP Pro machine. The > application runs from the command line however, when I try to run it > through Apache (I've tried called the script through a browser and a > SOAP service) the application will not run. I have tried the exec, > shell_exec and system commands. > > How can I get my Application to execute when it is called through Apache? > > > example code: > system("notepad.exe"); > > -- > Brian Stakes > http://www.voipsupply.com > brian.stakes@voipsupply.com > 800.398.VOIP - Toll Free > 716.630.1555 - x3874 > 716.250.3874 - Direct > 291176096 - ICQ > VoIPSupplyBrianS - AIM

« previous php.windows (#26995) next »