
30.11.2007, 00:03
|
|
Reservists Of Antichat - Level 6
Регистрация: 23.08.2007
Сообщений: 1,237
Провел на форуме: 18127311
Репутация:
1676
|
|
Да, да, это извращенно:
Код:
function check($uin)
{
$offline = file_get_contents('http://status.icq.com/5/online0.gif');
$unknown = file_get_contents('http://status.icq.com/5/online2.gif');
$online = file_get_contents('http://status.icq.com/5/online1.gif');
$status = file_get_contents('http://status.icq.com/online.gif?icq='.$uin.'&img=5');
if(!strcmp($status,$offline)) echo "Offline";
if(!strcmp($status,$online)) echo "Online";
if(!strcmp($status,$unknown)) echo "Unknown";
}
|
|
|