witam!
szukam skryptu ktory szukalby adresu ip w pliku php i jezeli znalalzby go wyswietlalby obrazek "online" a jezeli nie obrazek "offline" (oczywiscie musialoby sprawdzac co np 30 sekund)
PROSZE O SZYBKA POMOC!
function chkServer($host, $port) { $hostip = @gethostbyname($host); // resloves IP from Hostname returns hostname on failure if ($hostip == $host) // if the IP is not resloved { } else { { } else { if ($x) { } } } } chkServer('wp.pl', 80);
function chkServer($host, $port) { { } else { } } chkServer('wp.pl', 80);