Tema: Header
Ver Mensaje Individual
  #16 (permalink)  
Antiguo 25/06/2008, 10:43
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: Header

Prueba esto:
Código PHP:
case "add":
mysql_query("INSERT INTO `sonramigos` (`user`,`amigo`) VALUES ('$user','$useractual')");
if( 
headers_sent() ) {
        die( 
"Las cabeceras ya fueron enviadas, no es posible redireccionar" );
}
header("Location: http://061294.webcindario.com/sonrisa/sonrisa.php?user=$user"); 
Saludos.