The deal is, I have a PHP sms gateway script that when I run the script it will send me an sms, and depending on the url 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 on a webserver from a windows application.
Any help is much appreciated,
Cheers.
