Welcome to WebmasterWorld Guest from 54.196.175.173

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Page Genration Duration

     

camilord

10:26 am on Feb 15, 2008 (gmt 0)

5+ Year Member



how to make this? hehehehe.. newbie here...

Page Generation: 0.32 Seconds.

i'm confuse how to get those milliseconds and and etc... where will i base?

thanks for the answer of my newbie question.. :)

camilord

10:38 am on Feb 15, 2008 (gmt 0)

5+ Year Member



got it.. hehehe sorry for the post..

beginning of the page..

<?php

$starttime = explode(' ', microtime());
$starttime = $starttime[1] + $starttime[0];

?>

end of the page...

<?php

$mtime = explode(' ', microtime());
$totaltime = $mtime[0] + $mtime[1] - $starttime;
printf('Page loaded in %.3f seconds.', $totaltime);

?>

 

Featured Threads

Hot Threads This Week

Hot Threads This Month