Login   Register  
PHP Classes
elePHPant
Icontem

File: test-class.htmlparser.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Lin Zhemin  >  HTMLparser  >  test-class.htmlparser.php  >  Download  
File: test-class.htmlparser.php
Role: ???
Content type: text/plain
Description: Test script which demostrates the basic usage of class.htmlparser
Class: HTMLparser
Author: By
Last change:
Date: 13 years ago
Size: 215 bytes
 

Contents

Class file image Download
<? 
// for test class.htmlparser

include_once('class.htmlparser.php');

$fp = fopen('php://stdin', 'r') or die('stdin');
$s = fread($fp, 1048576);
$h = new HTMLin($s);
echo $h->show();
fclose($fp);

?>