Making a SA-MP Server Control Panel
#1

I currently am running a samp server off my vps. I was wondering how would I start it from a php page. I have php with ssh installed on my apache server. I am running debain.

The file is located /countryrp/samp03svr .
Reply
#2

PHP код:
<?php exec('cd /gayrp ; ./samp03svr &'); ?>
PHP код:
<?php exec('pkill samp03svr'); ?>
Remember to chmod to 777, and chown to whatever user is running php. Apache sucks btw...
Reply
#3

Using PHP ssh2 module is more secure way. Check it out.
Reply
#4

Look at my signature, then look at the source code, learn and then make your own.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)