PHP Classes
elePHPant
Icontem

File: YahooStatus.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Stanga Razvan  >  YahooStatus  >  YahooStatus.php  >  Download  
File: YahooStatus.php
Role: Example script
Content type: text/plain
Description: example
Class: YahooStatus
Retrieve the status of Yahoo account
Author: By
Last change:
Date: 11 years ago
Size: 1,181 bytes
 

Contents

Class file image Download
<?

//=============================//
// //
// YahooStatus v0.1 //
// YahooStatus Manual Bot //
// YahooStatus.php //
// by Stanga Razvan //
// razvan_stanga@yahoo.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 ();

?>