The users will only use IE, and within IE it can pass their credentials without being prompted to, if they are logged onto the domain controller.
What I want to know is, how do I go about grabbing their username?
I thought this would do the trick: $_SERVER['auth_user'];but no luck.
Just like this Can you get a Windows (AD) username in PHP?
But I don't know what the code should look like this to capture/grab the user's username
Any help is appreciated.
'.$_SERVER['AUTH_USER'].'
';, it prints nothing out. I am logged into my domain in Windows XP, and using IE 7 to view the page. – Brad Sep 17 '09 at 21:11