View Single Post
Old 09-28-2007, 06:40 PM   #2 (permalink)
kaykays
Contributing Member
 
Join Date: 09-01-07
Location: Gurgaon, India
Posts: 84
iTrader: 0 / 0%
Latest Blog:
PHP Programming

kaykays is on the right pathkaykays is on the right path
You can time it by adding code at top and bottom of your php files:

Code at top

PHP Code:
function getmicrotime(){ 
   list(
$usec$sec) = explode(" ",microtime()); 
   return ((float)
$usec + (float)$sec); 
   } 
$time_start getmicrotime(); 

Code at Bottom

PHP Code:
$time_end getmicrotime();
$timetaken $time_end $time_start;
echo 
$timetaken
kaykays is offline   Reply With Quote