![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
25/03/2004, 18:44
|
| | Fecha de Ingreso: noviembre-2003
Mensajes: 61
Antigüedad: 21 años, 2 meses Puntos: 0 | |
IIS>>Apache Ninguno de estos errores me aparecio con php en Apache, pero en IIS si. Alguna idea.
Tengo este error:
Notice: Undefined index: check in C:XXXX/access.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at C:XXXX/access.php:3) in C:XXXX/access.php on line 5
Utilizo session_start() y session_register('check'); $_SESSION['check']="s"; para iniciar si user y pass son correctos.
Y esto: "<?php
session_start();
if($_SESSION['check'] != "s")
{
header("Location:index.php");
exit();
}
?>"
en cada página.
Gracias de antemano. |