Parašė INFINITY· 2009 Spa. 29 20:10:09
#1
Jai rasau ne vietoj prasau perkelkit...
Turiu
php koda gal galit kas idet i panele man kazkaip nesigauna :/
$ip = "ipadresas";
$port= "portas";
$online = 'Server is currently: Online';
$offline = 'Server is currently: Offline';
$time = time ();
if (! $sock = @fsockopen($ip, $port, $num, $error, 5))
{
echo "$offline";
}
else
{
echo "$online";
print date("G:i: a",$time) . "<br>";
}
Dekui :)
Parašė Pakartoti slaptažodį· 2009 Spa. 29 20:10:40
#2
openside("fdfdf");
$ip = "ipadresas";
$port= "portas";
$online = 'Server is currently: Online';
$offline = 'Server is currently: Offline';
$time = time ();
if (! $sock = @fsockopen($ip, $port, $num, $error, 5))
{
echo "$offline";
}
else
{
echo "$online";
print date("G:i: a",$time) . "<br>";
}
closeside();
Parašė INFINITY· 2009 Spa. 29 21:10:00
#3
mm galvojau rejk tu echo" " :D Gal turit kokiu ideju kaip idet Uptime kai buna servuose apacioj statuso?
Redagavo INFINITY· 2009 Spa. 29 21:10:30