Right im just wondering, My mate is getting his own server soon and its a gameserver for Enemy territory so i m wondering if its possible to like, start a server from php, like tell it to execute an exe specified in the code. if it is could you please give me an example of this code. cuz i would like to make a control panel for the server ^^
Executing an Exe?
| Code: |
|
<?php echo '<pre>'; // Outputs all the result of shellcommand "ls", and returns // the last output line into $last_line. Stores the return value // of the shell command in $retval. $cmd = "ls -l"; $last_line = system(escapeshellcmd($cmd), $retval); // Printing additional info echo ' </pre> <hr />Last line of the output: ' . $last_line . ' <hr />Return value: ' . $retval; ?> |
http://www.php.net/manual/en/function.system.php
mmmk thanks iguess
I know a way to start CS:S servers from teh web and such, steam has a utility especially for it, I don't know if ET runs in steam, if it does, Google "Steam Applaunch". If not, I don't know. Sorry. 
| Mosquito.Tyler wrote: |
| I know a way to start CS:S servers from teh web and such, steam has a utility especially for it, I don't know if ET runs in steam, if it does, Google "Steam Applaunch". If not, I don't know. Sorry. |
