get username from .htaccess login?
Date: 05/08/06
(PHP Community) Keywords: no keywords
Is it possible to retrieve the username when a user logs in to an app through an .htaccess login page?
I have a directory protected by .htaccess and .htpasswd, and would like to be able to capture the username when someone logs in. I want to print it like, "Hello, Sharon!" in the app itself.
Any ideas on how to do this?
Source: http://community.livejournal.com/php/448615.html