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

« More image stuff || Question: Getting back what... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home