Home
>
Outdated forums
>
Phorum 3 forums (READ ONLY)
>
Mod Requests and Suggestions (READ ONLY)
>
Topic
Created in X seconds
Posted by baihui
Created in X seconds October 28, 2002 04:53AM |
IP/Host: ---.lirex.net Registered: 21 years ago Posts: 3 |
Re: Created in X seconds November 05, 2002 02:14PM |
IP/Host: ---.abo.wanadoo.fr Registered: 21 years ago Posts: 14 |
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
Marc
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
Marc
Sorry, you do not have permission to post/reply in this forum.