Je m suis crée uen page a accès protegé et j'obtiens cette erreur:
voici le code de la page:Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\serveurweb\www\connexion\Index_membre.php:1) in D:\serveurweb\www\connexion\Index_membre.php on line 2
Warning: Cannot modify header information - headers already sent by (output started at D:\serveurweb\www\connexion\Index_membre.php:1) in D:\serveurweb\www\connexion\Index_membre.php on line 7
<?PHP
session_start();
if ($_SESSION['auth']!="yes")
{
session_unset();
session_destroy();
header ('Location: index.php');
exit();
}
echo "<html>
<head><title>Page secrète</title></head>
<body>
<p>Ceci est ma page secrète.
</body></html>"
?>
qui s'affiche en haut à gauche de ce sujet