Location: PHPKode > scripts > Yahoo Status Checker > yahoo-status-checker/index.php
<?PHP

/**********************************************************************************************

* Author		Davood Jafari.
* Website		www.DavoodJafari.ir
* Email			hide@address.com
* ClassName 	Yahoo Status Checker
* Copyright(C)	2009 Davood Jafari, All rights reserved.

**********************************************************************************************/

require_once('Check.Class.php');

$MyYahooID = "pcparsi_com";
$Check = new YahooCheck( $MyYahooID );
$Result = $Check->GetResult();

if( $Result == 0 )
{
	print "Online";
} else
if( $Result == 1 )
{
	print "Offline";
} else
{
	print "Unknown";
}
?>
Return current item: Yahoo Status Checker