j'ai un petit probleme :
if ( (!isset($PHP_AUTH_USER)) || ! (($PHP_AUTH_USER == $LOGIN) && ( $PHP_AUTH_PW == "$PASSWORD" )) ) {
header("WWW-Authenticate: Basic entrer=\"Réserver à l'Administration\"");
header("HTTP/1.0 401 Unauthorized");
error("Accès interdit espace réservé a L'Administration !...");
}
else
{
blablabla
}
je ne sais pas quel option activer sur mon server pour ne plus avoir le messe erreur je pense que c dans php.ini ou httpd.conf
le message erreur
merci de votre aideWarning: Cannot add header information - headers already sent by (output
started at xxxxxxxxxxxxxxxxxxxx\index.php:1) in xxxxxxxxxxxxxxxxxxxxxxx\admin.php on line 23
Warning: Cannot add header information - headers already sent by (output
started at xxxxxxxxxxxxxxxxxxxx\index.php:1) in xxxxxxxxxxxxxxxxxxxxxxx\admin.php on line 24