PHP Classes

File: example.php

Recommend this page to a friend!
  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: 19 years ago
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();
?>