test
Posted by ecek2 on April 19, 2008
<?
$id=$_GET[yid];
if(isset($id))
{
$yahoo=implode("",file("http://opi.yahoo.com/online?u=$id&m=a&t=1"));
// Buat ngecek yg online langsung ke yahoo aja, gak perlu ke invisible.ir
if($yahoo=="01"){echo $id." sedang online";}
// Kalo terbukti gak online, baru deh ke invisible.ir
if($yahoo=="00") {
$data=implode("",file("http://invisible.ir/getstatus?yahooid=$id"));
if(eregi("Invisible", $data)){echo $id." sedang invisible";}
if(eregi("busy", $data)){echo "Maaf... server sibuk";}
if(eregi("Offline", $data)){echo $id." sedang offline";}
}
}
?>