Starting an application on web server
| From: | Nic Fordham | Date: | Mon, 25 Nov 2002 21:14:07 +0000 |
| Subject: | Starting an application on web server | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-126001@lists.php.net to get a copy of this message | ||
Hi there,
I am hosting a server running castle wolfenstein for a few friends of mine &
want to make a web page to run on the same server that they can log in to to
stop & start the game when they want.
I have tried putting the following code in a web page -
<?
exec ('f:\wolf\wolfmp.exe +set dedicated 2 +map mp_beach +set sv_maxclients
8 ')
?>
This creates a process on my server as of wolfmp.exe but I cannot see it on
my lan & they can't see it over the web.
I also don't get any visual output on the server of the wolfmp.exe starting
up the game console.
When I try& kill the process via taskmgr it says access is denied.
Does anyone have any ideas? Thanks a lot, Nic.