I'm trying to get the username in PHP from .htaccess when the user logs into a directory.
$SERVER['REMOTEUSER'] does not work. I can see it in SERVER["REDIRECTREMOTE_USER"] using phpinfo() but have not been able to access it get it to print to the browser.
I've searched pretty much high and low everywhere.
Thanks for the help.