Firefox PHP

Created in X seconds

Posted by baihui 
Created in X seconds
October 28, 2002 04:53AM
I see that this is already done but how?
Anyone can help me?
Re: Created in X seconds
November 05, 2002 02:14PM
Do that:
on top of your header.php add:

function getmicrotime(){
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
$chrono1 = getmicrotime();

and at the bottom of your footer.php add:

$chrono2 = getmicrotime();
echo Created in '.number_format(($chrono2 - $chrono1),5).' seconds.';

that's it

Re: 10x
November 07, 2002 02:42AM
Thank you, it worked!
I knew it would be something simple, but couldn't figure it out.
Sorry, you do not have permission to post/reply in this forum.