Login   Register  
PHP Classes
elePHPant
Icontem

File: ymsg.example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sandu Adrian  >  YMSG  >  ymsg.example.php  >  Download  
File: ymsg.example.php
Role: Example script
Content type: text/plain
Description: Example
Class: YMSG
Send messages and manage Yahoo messenger accounts
Author: By
Last change:
Date: 3 years ago
Size: 455 bytes
 

Contents

Class file image Download
<?php
include_once("ymsg.class.php");
$ymsg = new YMSG();
$ymsg->Verbosity(2);
$ymsg->YahooUser("your username here");
$ymsg->YahooPass("the password goes here");
$ymsg->YahooConnect();
if(
$ymsg->ConnectedStatus() == 0){
    exit;
}
while(
TRUE){
    
// This is what the old DaB did ...
    // $ymsg->YahooDenyABuddy($argv[1]);
    // This is what the old online scanners did
    // $ymsg->YahooAvatarLink($argv[1]);
    
$ymsg->parsepackets();
    
sleep(2);
}
?>