Protection dossier
echo realpath('index.php'); //adresse pour AuthUserFile
echo crypt('projet');//cryptaghe du passe
.htaccess
AuthUserFile /home.10.7/skintrac/www/dossieraproteger/.htpasswd
AuthGroupFile /dev/null
AuthName "Accès Restreint"
AuthType Basic
<Limit GET POST>
require valid-user
.
htpasswd
leLogin:lePassCrypte