Jump to content

Launch an external program via php


cgalive

Recommended Posts

hey guys

umm... all I want to do is to make a stylish web page with a few icons on it which when clicked on, a request will be sent to php and then according to that request, an application will be launched

my problem is no matter what i do, that application wont be launched!

the execution line would be somethin like this:

system ("mspaint");

well, when i run the script, mspaint wouldnt open and then it times out!

 

i use windows vista, php5, apache 2

 

when i run the script directly on php.exe it works, but not on apache!

i gave apache service a full administrator user on the services, and it still doesnt work!

and i googled a lot, couldnt find anything.

 

I'd really appreciate it if someone helps, thanks

Link to comment
https://forums.phpfreaks.com/topic/174910-launch-an-external-program-via-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.