I've setup the apache authentication by using htpasswd file.
How can I read the username entered by the user (in the logon dialog) in my PHP code ?
Is there any environment variable ?
Thanks
Getting User Name and Password from Apache authentication
Moderator: General Moderators
a simple search for 'authentication' in the php.net manual reveals...
http://www.php.net/manual/en/features.http-auth.php
http://www.php.net/manual/en/features.http-auth.php