Jump to content


Photo

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


  • Please log in to reply
2 replies to this topic

#1 highvoltz

highvoltz
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 18 May 2006 - 02:23 PM

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

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 18 May 2006 - 02:35 PM

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?

#3 highvoltz

highvoltz
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 18 May 2006 - 02:44 PM

personal use... I'm making a front end, almost like a desktop for a home computer..




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users