I’m trying to get the username in PHP from .htaccess when the user logs into a directory.
$_SERVER[‘REMOTE_USER’] does not work. I can see it in _SERVER[“REDIRECT_REMOTE_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.