PHP Classes

File: sample.php

Recommend this page to a friend!
  Classes of Halim PN   PHP to Yahoo Messenger   sample.php   Download  
File: sample.php
Role: Example script
Content type: text/plain
Description: sample
Class: PHP to Yahoo Messenger
Send an instant message to Yahoo Messenger user
Author: By
Last change:
Date: 13 years ago
Size: 407 bytes
 

Contents

Class file image Download
<?php
include("php2ym.php");
$encrypted_data = 'fill_with_encrypted_username_password_separated_by_l_(lowercase_of_L)';
//ie: $encrypted_data = '2345abcdel5432edcba'; --> ID YM (encrypted) = 2345abcde and password (encrypted) = 5432edcba

$ym = new ymMobile;
$ym->ymLogin($encrypted_data);
$ym->kirimPesan('gadis_cantik@ymail.com', 'This is a chat message sent by PHP on '.date("d-m-Y / H|i|s"));
?>