README.md
December 4, 2022 · View on GitHub
Description
This small script will let you output how much time (in seconds) it took for the page to expell. i.e. 0.501 seconds
More Info
| Submitted On | |
| By | Steve Gricci |
| Level | Beginner |
| User Rating | 4.6 (87 globes from 19 users) |
| Compatibility | PHP 3.0, PHP 4.0 |
| Category | Miscellaneous |
| World | PHP |
| Archive File |
Source Code
/*
*@author steve gricci rejuvenx@deepcode.net
*@access public
*@skill beginner
*@site www.deepcode.net
*/
//put at begining of file
function utime (){
usec = (double)sec = (double)sec + usec;<br>
}<br>
start = utime();
//put at end of page before /body and /html tags
run = start; echo "Page expelled in " . substr($run, 0, 5) . " secs.";
//Nothing after this