PHP & NTLM w/LDAP - Currently Logged in User

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
labmixz
Forum Newbie
Posts: 18
Joined: Tue Apr 25, 2006 12:14 pm
Location: tampa ~ fl
Contact:

PHP & NTLM w/LDAP - Currently Logged in User

Post by labmixz »

fixed it, thanks :)
Last edited by labmixz on Tue Apr 25, 2006 12:40 pm, edited 1 time in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.)
User avatar
labmixz
Forum Newbie
Posts: 18
Joined: Tue Apr 25, 2006 12:14 pm
Location: tampa ~ fl
Contact:

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Please don't remove your original post. It may be useful to someone else in the future...
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

Code: Select all

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