Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of windylea  >  YMReader  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: YMReader
Parse and view Yahoo! Messenger chat archive files
Author: By
Last change:
Date: 2012-12-02 10:22
Size: 324 bytes
 

Contents

Class file image Download
<?php
/*
 * Create a new class instance
 */
include("ymreader.php");
$ymreader = new ymreader;

/*
 * Select an archive file, specify Yahoo! ID of its owner and output the 
 * conversation to browser
 */
$ymreader->filename "20120812-free2rhyme.dat";
$ymreader->ownerID "free2rhyme";
echo 
$ymreader->view();