Page 1 of 1

PHP & NTLM w/LDAP - Currently Logged in User

Posted: Tue Apr 25, 2006 12:25 pm
by labmixz
fixed it, thanks :)

Posted: Tue Apr 25, 2006 12:29 pm
by feyd
The data you seek is in $_SERVER, generally, I believe.. although I don't often have to work with Windows LAN networks (in this fashion.)

Posted: Tue Apr 25, 2006 12:39 pm
by labmixz
feyd wrote:The data you seek is in $_SERVER, generally, I believe.. although I don't often have to work with Windows LAN networks (in this fashion.)
Yea, nvm on that, I'm a idoit sometimes...

I had this about 5 minutes before you posted... lol

Posted: Tue Apr 25, 2006 12:43 pm
by feyd
Please don't remove your original post. It may be useful to someone else in the future...

Posted: Tue Apr 25, 2006 12:54 pm
by Roja

Code: Select all

echo $SERVER['AUTH_USER'];
This presumes that you have enabled directory security, and DISABLED anonymous logins.