Dan
mercredi 23 mars 2005 à 08:56
Salut Beauvalon,
Il s'agit d'identification http, et non d'identification .htaccess dans ce cas.
Par exemple:
CODE
if (($PHP_AUTH_PW=="mot_de_passe") and ($PHP_AUTH_USER=="login"))
{$auth=true;}
else
{$auth=false;}
if($auth) {
// code dans le cas d'une identification
}
else {
// code pour non-identification
}