Ver Mensaje Individual
  #4 (permalink)  
Antiguo 30/05/2010, 11:26
jeop2004
 
Fecha de Ingreso: mayo-2010
Mensajes: 4
Antigüedad: 14 años, 9 meses
Puntos: 0
Respuesta: Tiempo de Carga y numeros de consultas

Es una pagina pagina que funciona con wordpress (SQL+PHP)... el contador es este codigo

Código PHP:
<!-- Ubicar este script al comienzo de la página -->
<?php
$mtime 
microtime();
$mtime explode(" ",$mtime);
$mtime $mtime[1] + $mtime[0];
$tiempoinicial $mtime;
;
?>
<!-- Comienzo del código del Sitio -->
<html>
...
</html>
<!-- Ubicar este script al final de la página -->
<?php
$mtime 
microtime();
$mtime explode(" ",$mtime);
$mtime $mtime[1] + $mtime[0];
$tiempofinal $mtime;
$tiempototal = ($tiempofinal $tiempoinicial);
echo 
"La página fue creada en ".$tiempototal." segundos";
;
?>
pero sigo sin el numero de consultas!, gracias y disculpen las molestias