PHP - Restart a SA-MP server
#3

You can use ecec and proc_open.

PHP код:
<php exec('nohup ./samp03svr &'); ?> 
And to kill it:

PHP код:
<php ecec('killall -9 samp03svr'); ?> 
Reply


Messages In This Thread
PHP - Restart a SA-MP server - by lewismichaelbbc - 05.08.2011, 16:22
Re: PHP - Restart a SA-MP server - by taborda11 - 05.08.2011, 17:09
Re: PHP - Restart a SA-MP server - by linuxthefish - 05.08.2011, 17:24
Re: PHP - Restart a SA-MP server - by lewismichaelbbc - 05.08.2011, 18:04

Forum Jump:


Users browsing this thread: 1 Guest(s)