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.