RE: Getting windows username into php/mysql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hmm... I'm guessing you could take that variable, do an explode on the
\ and add the @domain.ext, that is if you know the extension. That
should work for my purposes at least. 

Thanks,

Matt
 
> The $_SERVER["REMOTE_USER"] method works ok, but returns the 
> old Win 2000 style DOMAIN\username, rather than the new 
> Windows 2003 username@xxxxxxxxxxx I would be interested to 
> see how this formatting would fare when used to log in to a 
> Windows 2003 server via the LDAP functions.

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux