PHP Classes

File: example.php

Recommend this page to a friend!
  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: 11 years ago
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();