/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
For server path info, save as phpinfo.php: <?php ?> .htaccess: AuthName "Restricted Area" AuthType Basic AuthUserFile /home/path/to/folder/.htpasswd AuthGroupFile /dev/null require valid-user .htpasswd in root dir: admin:[encrypted password] Generate encrypted password here: http://tools.dynamicdrive.com/password/
URL: http://tools.dynamicdrive.com/password/
Comments
