<?php echo '<html> <head> <title>Odpalacz autopilota i serwera shoutcasta </title> </head> <body> <center> <a href="?co=wlacza">WLACZ apilota</a> <|> <a href="?co=wylacza">WYLACZ apilota</a><br> <br><br><br> </center>'; $ip = "176.122.224.12"; $user = "root"; $pass = "*******"; $wykonaj = "cd /home/radio/shout/ && screen -A -m -d -S shout ./sc_serv"; $lacz= ssh2_connect($ip, 22); ssh2_auth_password($lacz, $user, $pass); $wykonaj1 = "fuser -k 8000/tcp"; if ($_GET[co]=='wlacza') ssh2_exec($lacz, $wykonaj ); else if ($_GET[co]=='wylaccza') { $off = 'killall -9 sc_serv'; } echo '</body> </html>'; ?>
MAm z takim małym panelem problem uruchamia się ale nie chce się wyłączyć pomoże ktoś to mój 1 skrypt pomocy

