10.05.2009, 13:05
Hi.
Im tryin 2 make a Control Panel for SAMP with PHP. I use Linux.
I got this functions:
But it just doesnt work. No error. Nothin.
I'm usin lampp with php5. Do i need to change something in the configuration of lampp or php? If yes, what?
or is my code just wrong?
P.s. Startin' server manual with start.sh works.
Im tryin 2 make a Control Panel for SAMP with PHP. I use Linux.
I got this functions:
Код:
function StopServer(){ echo shell_exec('pkill -f samp02Xsvr'); echo "<br />"; } function StartServer(){ echo shell_exec('/opt/samp/start.sh &'); echo "<br />"; }
I'm usin lampp with php5. Do i need to change something in the configuration of lampp or php? If yes, what?
or is my code just wrong?
P.s. Startin' server manual with start.sh works.