Ver Mensaje Individual
  #20 (permalink)  
Antiguo 12/03/2012, 12:31
Avatar de Etherman
Etherman
 
Fecha de Ingreso: abril-2011
Mensajes: 93
Antigüedad: 13 años
Puntos: 2
Respuesta: Sencillo segundero.php

Bueno, esto me salió, espero que os guste, y a alguien ayude:
Código PHP:
Ver original
  1. <?php
  2. $segundo = $_GET['segundo'];
  3. if (!isset($segundo))
  4. $segundo = -1;
  5. $segundo = ($segundo+1);
  6. if ($segundo > '59')
  7. $segundo = 0;
  8. header("refresh:1; url=http://localhost/segundero.php?segundo=$segundo");
  9. echo $segundo;
  10. ?>