I have a PHP app running on Windows 2008 server R2, which authenticates users against Active Directory using PHP\'s LDAP library.
As per this answer, I\'m looking to use
According to the PHP documentation, the correct index seems to be PHP_AUTH_USER.
PHP_AUTH_USER
Try using $_SERVER['PHP_AUTH_USER'].
$_SERVER['PHP_AUTH_USER']