Login   Register  
PHP Classes
elePHPant
Icontem

File: sample.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of al dev  >  HTML2php  >  sample.php  >  Download  
File: sample.php
Role: ???
Content type: text/plain
Description: Example to demo usage of html2php class
Class: HTML2php
Author: By
Last change:
Date: 2001-06-19 12:37
Size: 255 bytes
 

Contents

Class file image Download
<?php

require_once("html2php.php");
$h2p = new html2php;
//print "<h1>cvtflg = ". $cvtflg . "  </h1>";
if ($cvtflg == 1) // cvtflg is set in start()
{
	$h2p->file_to_change = $file_to_change;
	$h2p->convert();
}
else
	$h2p->start();

php?>