PHP Classes

File: includes/MSNStatus.Config.php

Recommend this page to a friend!
  Classes of Stanga Razvan   MSNStatus   includes/MSNStatus.Config.php   Download  
File: includes/MSNStatus.Config.php
Role: Configuration script
Content type: text/plain
Description: Config file
Class: MSNStatus
Retrieve the status of MSN account
Author: By
Last change: updated to MSN8 protocol
Date: 20 years ago
Size: 3,427 bytes
 

Contents

Class file image Download
<?

//=============================//
// //
// MSNStatus v0.2 //
// MSNStatus Config file //
// MSNStatus.Config.php //
// by Stanga Razvan //
// razvan_stanga@yahoo.com //
// http://www.phprebel.org //
// //
// MADE IN ROMANIA //
// //
//=============================//

$config = array ();

//====================//
// EDITABLE VARIABLES //
//====================//

// Admin User/Password/Email
// for manual bot

$config['admin_user'] = 'user23';
$config['admin_password'] = 'pass23';
$config['admin_email'] = 'razvan_stanga@yahoo.com';

// Email
// email to check if online/offline

$config['checkemail'] = 'xxx@xxx.ro';

// MSN host, port
$config['msnhost'] = '207.46.106.35';
$config['msnport'] = 1863;

// Nexus host, port
$config['nexushost'] = 'nexus.passport.com';
$config['nexusport'] = 443;

// Bot User Data
// alternate account for the bot to login with and check

$config['msnuser'] = 'user';
$config['msnpassword'] = 'pass';

// When disconnected, Reconnect after (seconds)

$config['reconnect_after'] = 3;

// If debugger is set to 1, it will write a log in logs dir

$config['debug'] = 0;

// Time to stay and collect info (seconds)

$config['timetostay'] = 30;

// Current time

$config['time'] = time ();

// Cron job time (seconds)

$config['cronjob'] = 300;

// Debug Collors
$config['colors'] = array (
           
'1' => '#ffa500',
           
'2' => '#ff0000',
           
'3' => '#00FFFF',
           
'4' => '#33FF33',
           
'5' => '#87ceeb',
);


// Image Name
// you can link to this image <img src="../msnstatus.gif">
$config['imagename'] = 'msnstatus.gif';

// Image templates
$config['templates'] = 'templates';

// FTP Stuff
// Upload image via ftp
// ftp://[ftp_server]/[ftp_dir]/[imagename]
// this will upload the online/offline image from templates and overwrite the old image, [imagename] via ftp

$config['ftp_active'] = 0;
$config['ftp_server'] = 'ftp.xxx.com';
$config['ftp_dir'] = 'images/msn'; // no '/' needed
$config['ftp_port'] = 21;
$config['ftp_user'] = 'user';
$config['ftp_pass'] = 'pass';

// Post to URL ? test.php?email=[checkemail]&status=[1/0] ; 1 online, 0 offline
// this will post to a URL the email [checkemail] and the status, 1 for online and 0 for offline

$config['post'] = 0;
$config['posttourl'] = 'http://dictionar.allnet.ro';
$config['posttopath'] = '/razvan/test.php';

// Replace Image
// this will replace an image on the server where the script will run
// first it will delete [imagepath]/[imagename], then it will copy the online/offline image from templates

$config['imagereplace'] = 1;
$config['imagepath'] = '_images';


//=============================//
// NOT EDITABLE VARIABLES //
// DO NOT EDIT VARIABLES BELOW //
//=============================//

// Author Details

$config['author_name'] = '[RO]VeNoM';
$config['author_email'] = 'razvan_stanga@yahoo.com';

// Log file name

$config['log'] = 'debug-'.date("Y-m-d").'.log';

// Time to seeep between sends (microseconds)

$config['sendsleep'] = 100;

// Time to seeep between receives (microseconds)

$config['receivesleep'] = 100;

// MSNStatus Version

$config['version'] = 'MSNStatus v0.2';
$config['homepage'] = 'http://www.phprebel.org';

?>