<?php
/*******************************************************************************
Package : Processing - An simple way to display processing code time
File :example file script
Author: José Augusto Ferreira Franco
Nick name : Guto Ferreira
Web : www.revista-php.net
Build date: 27- January 2008
Version : 1.0
Lisence : Artist License (means you must leave this header always)
********************************************************************************/
require_once("processing.class.php");
// TOP OF THE PAGE
$Time = new Processing(); // instance to class processing
$start = $Time->Start_Time(); // inits time
?>
<?php
ADD ALL YOUR PHP AND HTML RIGHT CODE HERE IN THE MIDDLE
?>
<?php
// END OF THE PAGE
// CALCULATES ALL TIME PROCESSING AND PRINTS IT ON THE WEB PAGE
$end = $Time->End_Time();
$total = $Time->Total_Time($start,$end);
$Time->show_msg($total);
?>
|