Depiction- Webmaster Resources
Stock Image


Contributors: Advertise Here  |  Advertise Here  |  Advertise Here


Misc Links: Submit Tutorials (Earn $$) l Advertising l Privacy Policy | Site Map

Tutorials > PHP > Load Time

 

Display in seconds how long the page took to load.


Here is another simple code that will display how long the page took to load. Just add the code anywhere between <body> and </body>. You can change "Page loaded in" if you'd like to.

Page loaded in
<?php $load = microtime();
print (number_format($load,2));
?>
seconds.

In action:

Page loaded in 0.79 seconds.

 


 
 

Affiliates

Tutorial Stream Photoshop Tutorials
Tutorial Man Wallpaper Stock  More

Resources