Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Davood Jafari  >  Yahoo Status Checker  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Sample File
Class: Yahoo Status Checker
Check the online status of an Yahoo messenger user
Author: By
Last change:
Date: 2009-06-18 12:41
Size: 654 bytes
 

Contents

Class file image Download
<?PHP

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

* Author        Davood Jafari.
* Website        www.DavoodJafari.ir
* Email            ISDavood@gmail.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 == )
{
    print 
"Online";
} else
if( 
$Result == )
{
    print 
"Offline";
} else
{
    print 
"Unknown";
}
?>