Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/02/2010, 18:25
Avatar de cemansilla
cemansilla
 
Fecha de Ingreso: septiembre-2007
Ubicación: Buenos Aires, Argentina, Argentina
Mensajes: 214
Antigüedad: 17 años, 6 meses
Puntos: 6
Respuesta: Problema con Codigo

Agregale a la linea:

Código PHP:
if ($_SESSION["autenticado"] != "SI") { ... } 
Esto:

Código PHP:
if (isset($_SESSION["autenticado"]) && $_SESSION["autenticado"] != "SI") { ... } 
Porque el error:

Cita:
Notice: Undefined index: autenticado in I:\Archivos de programa\Apache Software Foundation\Apache2.2\htdocs\proyecto\inicio.php on line 49
Significa que no existe ese indice en el array.

Saludos!
__________________
CÉSAR MANSILLA
Web & Mobile Developer - Analista - Creativo - Curioso
http://cesarmansilla.com/
http://cesarmansilla.com/blog/