Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Traiter la boîte de dialogue d’authentification

 mot de passe
{filelink=12576}

<?php
if ( (! isset ($PHP_AUTH_USER)) || (! isset ($PHP_AUTH_PW)) ||
   ($PHP_AUTH_USER != 'sakoba') || ($PHP_AUTH_PW != 'passe') ) :

     header('WWW-Authenticate: Basic realm="Connexion Membre"');
     header('HTTP/1.0 401 Unauthorized');
     print "Nom d'utilisateur ou mot de passe incorrect.";
     exit;
endif;
?>

No comments yet.

Leave a Comment