Location: PHPKode > scripts > HTML2php > html2php/sample.php
<?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?>
Return current item: HTML2php