Eh eu am incercat cu curl <?php $id_mess = pune_aici_idu_tau_de_mess; $link_yahoo = "http://opi.yahoo.com/online?u={$id_mess}&m=a&t=1"; $ch = curl_init($link_yahoo); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_HEADER, 0); $fa_treaba = curl_exec($ch); curl_close($ch); $fa_treaba = trim($fa_treaba); if(empty($fa_treaba)){ //Sa intamplat ceva echo 'Buey '.$_SERVER['REMOTE_ADDR'].' e problema'; }elseif ($fa_treaba == '01'){ echo 'Ba '.$id_mess.' e online'; }elseif ($fa_treaba == '00'){ echo 'No tulai doamne ca '.$id_mess.' e offline FA'; } ?>