n4tec
Active Member
- Messages
- 3,312
- Reaction score
- 0
- Points
- 36
here is a php script to display the page load time in secs... Check how slow or how fast your sites loads... if it loads btn 0 - 10 that is ok but lower it better, if it loads btn 11 -20 that is fair and if it loads btn 21 - aboveget rid of that site...
You can see the link to see it in action. here is the crater
Code:
<?php
//put at begining of file
function utime (){
$time = explode( " ", microtime());
$usec = (double)$time[0];
$sec = (double)$time[1];
return $sec + $usec;
}
$start = utime();
//put at end of page before /body and /h // tml tags
$end = utime(); $run = $end - $start; echo "Page expelled in " . substr($run, 0, 5) . " secs.";
//Nothing after this
?>
You can see the link to see it in action. here is the crater
Last edited by a moderator: