PHP htaccess username grab - TechRepublic
Question
February 13, 2008 at 10:04 AM
im patrickb8man

PHP htaccess username grab

by im patrickb8man . Updated 18 years, 5 months ago

Hi,
If I were to use a plain old htaccess file with a htpasswd file for user
authentication, rather than php files, could PHP somehow later retrieve the
username used through some system or browser variables?

I would assume that the browser keeps the username and password as long as the
session is active…

Any help or advice would be greatly appreciated. Thanks

This discussion is locked

All Comments