Forum Moderators: coopster

Message Too Old, No Replies

PHP script for HTACCESS logins?

Web based authentication with existing HTACCESS logins?

         

craig1972

1:40 am on Apr 7, 2004 (gmt 0)

10+ Year Member



Hi,

Does anyone know where I can get a PHP script that allows me to read HTACCESS logins (through a .htpasswd file) and then does the authentication accordingly?

Thanks!
CM

jatar_k

5:48 pm on Apr 7, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



We used to have one but I don't remember where it went to

try this
HTTP authentication with PHP [ca3.php.net]

always read the user notes, that's usually where the meat is. ;)