I have a Counter-Strike 1.6 server and I would like to let my server admins to turn ON the server when it crashes, so I investigated a bit to do this using PHP to run an .exe on my server but I'm not very experienced at php and I couldn't figure out how to do this and it's giving me a very big headache cuz I can't find any website/forum that explains how to run a .exe with php..
I have a dedicated server, with Windows server 2003 sp1 ..
this is the path to the .exe I want to execute with PHP
it's a shortcut, and this is the target:
"C:\HLDS\hlds.exe" -console -game cstrike -ip MYIPHERE -port 27016 +maxplayers 27 +map de_nuke
I would appreciate if someone could tell me the PHP code to run this application through PHP..