sven Posted March 18, 2005 Share 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 Link to comment Share on other sites More sharing options...
matrix0978 Posted March 18, 2005 Share Posted March 18, 2005 i dont know, but i know gamehead has it on his site. so you could ask him Link to comment Share on other sites More sharing options...
oozi Posted March 18, 2005 Share 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'; Link to comment Share on other sites More sharing options...
sven Posted March 18, 2005 Author Share Posted March 18, 2005 ok, thanks. ill try that.i cant ask gamehead, he's in mexico lol Link to comment Share on other sites More sharing options...
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