Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/04/2012, 11:35
Avatar de bet7o
bet7o
 
Fecha de Ingreso: febrero-2010
Ubicación: DF
Mensajes: 315
Antigüedad: 14 años, 2 meses
Puntos: 20
Respuesta: header() y sus parametros.

Hola,

Lo haz intentado hacer como lo hace forosdelweb después de logearte?

Si no esta habilitado el javascript:
Código HTML:
Ver original
  1.   <meta http-equiv="Refresh" content="2; URL=http://www.forosdelweb.com/login.php?do=login" />

Si esta habilitado javascript:
Código Javascript:
Ver original
  1. function exec_refresh()
  2. {
  3.     window.status = "Redirigiendo..." + myvar;
  4.     myvar = myvar + " .";
  5.     var timerID = setTimeout("exec_refresh();", 100);
  6.     if (timeout > 0)
  7.     {
  8.         timeout -= 1;
  9.     }
  10.     else
  11.     {
  12.         clearTimeout(timerID);
  13.         window.status = "";
  14.         window.location = "http://www.forosdelweb.com/login.php?do=login";
  15.     }
  16. }
  17.  
  18. var myvar = "";
  19. var timeout = 20;
  20. exec_refresh();


Saludos!
__________________
Pero el no contaba con una cosa, mi peligroso desinteres por la vida humana