Jump to content

Help! Can't execute system commands on Windows XP with PHP


highvoltz

Recommended Posts

Hey guys,

Having a ton of trouble getting apache/php to run system commands on a windows XP machine. PHP works fine, I used the downloads from this website for the install / dlls. The problem is, I'm trying to develop a front end that uses AJAX/Javascript to run system commands to applications such as winamp, so forth. I'm not sure if the problem is permissions or what. I've tried millions of combinations that I've read about, but no go. It may be the way I need to run apps on Windows?The script will just execute with no problem, no errors, however the app will not show. if someone could show me how to run say windows calculator (calc.exe in system32) where it runs and opens on the screen that would be great. I've spent many hours getting no where.. help!! BTW, I went to apache because I had the same problem with IIS...

Thanks!

Tom
Link to comment
Share on other sites

Are you planning on running the script you are devloping in a live envrionment, eg host it on the internet. If so then your script wont actually launch any appas from the users computer but it will from the server as PHP is server side. Or is this just for for personal use on just your PC?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.