May 30
In this tutorial you will learn from a simple code how to generate the page loading time using pure PHP programing.
The idea is simple, this script generates a number that counts in seconds the page loading time.
It’s a very simple script and is accurate to 0.000000000000001 seconds.
Firstly place the following code at the very top of your page:
PHP:
Next add the following code at the very bottom of the page. You can change the last line to whatever you would like your viewers to see.
Recent Comments