none Posted November 6, 2009 Share Posted November 6, 2009 Not sure exactly where this belongs, but the deal is, I have a PHP sms geteway script that when I run the script it will send me an sms, and depending on the $_GET variables it will send me a specific message. The script sits on an apache webserver. I need to have this run as a VMWare alarm in VIC(which runs on a management server which is win xp). At the moment I am doing it very dodgy and having it run this script: c:\windows\system32\cmd.exe /c c:\alarm.bat "xxx Server is offline" Then in that bat file it's something like: iexplore http://path.to/php/sms/script.php?msg=% Now it kind of works, but I know there must be a better way of doing this, currently after the script runs 3 or 4 times, it stops working. Does anyone have any ideas as to how to remotely execute a php script from a windows application. Any help is much appreciated, Cheers. Link to comment https://forums.phpfreaks.com/topic/180528-vmware-executing-a-php-script/ Share on other sites More sharing options...
ram4nd Posted November 6, 2009 Share Posted November 6, 2009 Windows app must open that url on browser and php coding forum is wrong palace for this post. Link to comment https://forums.phpfreaks.com/topic/180528-vmware-executing-a-php-script/#findComment-952417 Share on other sites More sharing options...
none Posted November 6, 2009 Author Share Posted November 6, 2009 Windows app must open that url on browser and php coding forum is wrong palace for this post. Your response wasn't really helpful. But thanks anyway. Link to comment https://forums.phpfreaks.com/topic/180528-vmware-executing-a-php-script/#findComment-952422 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.