<?php
<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';
}
</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

Proszę Was zależy mi na tym bo jak już to połapie to pożniej sobie juz panel do gry zrobie
Ten post edytował gzmx 12.12.2012, 14:36:08