I have a password protected directory with htaccess and htpasswd.
My .htpasswd
file looks like this:
user1:passwordstring
user2:passwordstring
user3:passwordstring
When any of the user login successfully into the directory is there anyway I can get that user's name using php?