<?php
// Paste this in header before HTML starts.
$time = microtime();
$time = explode(" ", $time);
$time = $time[1] + $time[0];
$start = $time;
// Paste this on end of page/html.
$time = microtime();
$time = explode(" ", $time);
$time = $time[1] + $time[0];
$finish = $time;
$totaltime = ($finish - $start);
printf ("Load time: %f seconds", $totaltime);
?>
PHP:<?php // Paste this in header before HTML starts. $time = microtime(); $time = explode(" ", $time); $time = $time[1] + $time[0]; $start = $time; // Paste this on end of page/html. $time = microtime(); $time = explode(" ", $time); $time = $time[1] + $time[0]; $finish = $time; $totaltime = ($finish - $start); printf ("Load time: %f seconds", $totaltime); ?>
<?php
// Paste this in header before HTML starts.
$start = microtime(1);
// Paste this on end of page/html.
printf ("Load time: %f seconds", microtime(1) - $start);
?>
A thankyou would be nice next time. I don't know.
This is one of the reasons that most Respected Developers stopped providing help.