Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/05/2010, 16:57
Avatar de mayid
mayid
Colaborador
 
Fecha de Ingreso: marzo-2009
Ubicación: BsAs
Mensajes: 4.014
Antigüedad: 15 años, 1 mes
Puntos: 101
$_SERVER['HTTP_REFERER'] en firefox

Puede ser que firefox deshabilite los referers?

Cita:
I got this error too, it was caused by "referrers" being disabled in Firefox... The issue was resolved by using Internet Explorer for the task...
Tengo un formulario que usa esto:

Código PHP:
<input name="referer" type="hidden" value="<?php echo $_SERVER['HTTP_REFERER']; ?>" />
Y cuando quiero recibir ese formulario con php, firefox me tira error!

Cita:
Notice: Undefined index: HTTP_REFERER in C:\wamp\www\manual26\AoI Manual\Library\login\loginForm.php on line 83

Warning: Header may not contain more than a single header, new line detected. in C:\wamp\www\manual26\AoI Manual\Library\login\login_script.php on line 70
Ademas hay un segundo error respecto a headers... ¿?

Última edición por mayid; 05/05/2010 a las 18:37