sven Posted March 18, 2005 Posted March 18, 2005 does anyone know how to put in that code that tells how much time it took to make the page? i searched on google and lets say that a script about time isn't what i want.thanks
matrix0978 Posted March 18, 2005 Posted March 18, 2005 i dont know, but i know gamehead has it on his site. so you could ask him
oozi Posted March 18, 2005 Posted March 18, 2005 use the microtime() function its real eazyexample :-function getmicrotime(){ list($msec, $sec) = explode(" ",microtime()); return ((float)$msec + (float)$sec); } $time_start = getmicrotime();// Code goes here...$time_end = getmicrotime();$time = sprintf('%.16f', $time_end - $time_start);echo 'parsed in ' . $time . ' seconds';
sven Posted March 18, 2005 Author Posted March 18, 2005 ok, thanks. ill try that.i cant ask gamehead, he's in mexico lol
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now