Parašė Lordcraft· 2008 Spa. 27 14:10:51
#1
Gal kas turi scripta kuris rodytu atvirus IP:PORT ir rodytu statusa? as turiu toki scripta:
error_reporting(0);
$IP = array("$ip:$port",);
while(list($ServerName,$Host)=each($IP)) {
list($IPAddress,$Port)=explode(":",$Host);
if($fp=fsockopen($IPAddress,$Port,$ERROR_NO,$ERROR_STR,(float)0.5)) {
echo "<img src='http://mu-online.lt/images/online.gif'>";
fclose($fp);
}
else {
echo "<img src='http://mu-online.lt/images/offline.gif'>";
}
echo ("</td></tr>\n");
}
bet jis man vejus rodo ir eina tik su 80 portu....