Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Nilesh Dosooye  >  Page Timer  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example on PageTimer Usage
Class: Page Timer
Keep track of time taken by a script to execute
Author: By
Last change:
Date: 2004-10-31 21:38
Size: 235 bytes
 

Contents

Class file image Download
<?

include_once("pageTimer.class.php");
     
$thisPageTimer = new pageTimer();
$thisPageTimer->startTimer();

?>

DO SOMETHING HERE....


<?
       $thisPageTimer
->endTimer();
       
$thisPageTimer->displayTimeTaken();
?>