Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/12/2004, 14:12
msdwh
 
Fecha de Ingreso: diciembre-2004
Mensajes: 96
Antigüedad: 19 años, 4 meses
Puntos: 0
Exclamación ahora me sale este error

ya resolvi el problema era una } que me hacia falta
pero ahora tengo esta otra falla


Warning: session_register(): Cannot send session cookie - headers already sent by (output started at c:\inetpub\wwwroot\tesis\conexion.inc.php:23) in c:\inetpub\wwwroot\tesis\seguridad.php on line 3

Warning: session_register(): Cannot send session cache limiter - headers already sent (output started at c:\inetpub\wwwroot\tesis\conexion.inc.php:23) in c:\inetpub\wwwroot\tesis\seguridad.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at c:\inetpub\wwwroot\tesis\conexion.inc.php:23) in c:\inetpub\wwwroot\tesis\seguridad.php on line 7


codigo:

<?
//TOMO VARIABLES DE SESION SOBRE LA AUTENTIFICACION
session_register("autentificado");

if ($autentificado != "SI") {
//si no existe, envio a la página de autentificacion
header("Location: defaul.php");
//ademas salgo de este script
exit();
}
?>

Última edición por msdwh; 25/12/2004 a las 16:01