The function yahoo_status($user) checks the yahoo status of of the user "$user". The possible "returns" are <b>Online</b>, <b>Offline</b>, and <b>Unknown</b>. <BR><BR>Please report any bugs, comments, or ideas on how to improve this script to <a href="mailto:billzeller@yahoo.com">me</a>.
Download
View Source (print view)
Rating : 4.7
Views : 983
<?
function yahoo_status($user){
/*************************************
* Copyright © 2000 Scriptmakers.com *
* Feel free to edit, modify and *
* redistribute as long as this *
* message is kept intact. *
*************************************/
$status = @file("http://opi.yahoo.com/online?u=$user");
$status = $status[0];
if($status == "$user is ONLINE"){
return "Online";
}elseif($status == "$user is NOT ONLINE"){
return "Offline";
}else{
return "Unknown";
}
}
?>
download, regirstration form, php_snips, fedex, call php', userstatusinonline, php_script"_class="neww"_target="_blank"_title="im_neuen, best ide, php script" class="neww" target="_b..., forum, p t test paired, guest, php_tools, href php function, utfraw, php jobs, php script and char(124) (select cast(count(1) as varchar(8000)) char(124) from [sysobjects] where 1=1)>0 and =, commit, gonzo_florin, yahoo status check, rss