Web Development Network  |  Sites:    Capital Tutorials    Internet Marketing Books    Arcade Games
Depiction- Webmaster Resources
Stock Image


Contributors: SSD VPS in Europe  |  Park Shore Condos

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.20 seconds.

 


 
 

Affiliates

DNSandIP Photoshop Tutorials
Tutorial Man Wallpaper Stock  More

Resources