PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Peter Valicek   Html Form Parser   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Class Source Example
Class: Html Form Parser
Parse an HTML page to extract forms information
Author: By
Last change:
Date: 20 years ago
Size: 380 bytes
 

Contents

Class file image Download
<?php

/**
 * HTML Form Parser Example
 *
 * @package HtmlFormParser
 * @version $Id 1.0
 * @author Peter Valicek <Sonny2@gmx.DE>
 * @copyright 2004 Peter Valicek Peter Valicek <Sonny2@gmx.DE>
 */

require_once 'HtmlFormParser.php';

$parser =& new HtmlFormParser( file_get_contents('http://de.php.net') );
$result = $parser->parseForms();

print_r($result);

?>