My site is protected via .htacces and .htpasswd
Im creating a script that makes a log of certain actions the users do while navigating in the protected directories.
The problem is, that for me to be able to do this I need to know by what username the user accesed the protected directories...
I hope Im making myself clear...I read somewhere that I could know this by seeing the $ENV{'REMOTE_USER'} variable, but its not working...
Could someone help me out...
Thanks