| while ($awake){ code(); } Name: Eric Location: Kentucky Join Date: Mar 2005
Posts: 4,240
NP$: 385.00 ( Donate)
| Page Load Time PHP Code: <?php
// Insert at the very top of your page
$time = microtime();
$time = explode(" ", $time);
$time = $time[1] + $time[0];
$start = $time;
?>
<?php
// Place at the very bottom of your page
$time = microtime();
$time = explode(" ", $time);
$time = $time[1] + $time[0];
$finish = $time;
$totaltime = ($finish - $start);
printf ("Page generated in %f .", $totaltime);
?>
Last edited by SecondVersion : 07-17-2005 at 01:52 AM.
|