| ||||
| Creo que exactamente no se llamaria tiempo de descarga, sino página generada en: Esto antes de <html>:
Código:
Luego iria:<?php
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$tiempoinicial = $mtime;
;?>
<html> <head> Tu cabecera </head> <body> Cuerpo de tu web Donde quieras que aparezca, pones esto:
Código:
</body><?php
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$tiempofinal = $mtime;
$tiempototal = ($tiempofinal - $tiempoinicial);
echo "La página fué generada en ".$tiempototal." segundos";
;?>
</html> Un Saludo
__________________ http://www.mfo.com.es/ |