Location: PHPKode > scripts > YahooStatus > yahoostatus/YahooStatus.php
<?

//=============================//
//                             //
//   YahooStatus v0.1          //
//   YahooStatus Manual Bot    //
//   YahooStatus.php           //
//   by Stanga Razvan          //
//   hide@address.com   //
//   http://venom.gent00.org   //
//                             //
//       MADE IN ROMANIA       //
//                             //
//=============================//

//---------------
// Include Config
//---------------

require ("includes/YahooStatus.Config.php");

//----------------
// Check User/Pass
//----------------

if ( (!isset($PHP_AUTH_USER)) || !(($PHP_AUTH_USER == $config['admin_user']) && ($PHP_AUTH_PW == $config['admin_password'])) ) {
		header("WWW-Authenticate: Basic entrer=\"Form2txt admin\"");
		header("HTTP/1.0 401 Unauthorized");
		exit;
}

//--------------------------
// Include YahooStatus Class
//--------------------------

require ("includes/YahooStatus.Class.php");

//------------------
// Start YahooStatus
//------------------

$YahooStatus = new YahooStatus;

$YahooStatus->config = $config;

$YahooStatus->debuglog ('----- '.date("Y-m-d H:i:s", time()).' -----');

$YahooStatus->getImage ();

?>
Return current item: YahooStatus