I ppl.
i´ve tried to get a username from my intranet (windows 2000 server)domain.
The security in my folder is set to everyone (read,execute,list).
i tried to use $_SERVER("REMOTE_USER") and get an undefined index: REMOTE_USER.
so... how can i get the domain username????
tnks.
Pedro
Getting Username from a windows domain...
Moderator: General Moderators
-
TheBentinel.com
- Forum Contributor
- Posts: 282
- Joined: Wed Mar 10, 2004 1:52 pm
- Location: Columbus, Ohio
Re: Getting Username from a windows domain...
I think REMOTE_USER and LOGON_USER are only populated if the server is set to authenticate. If you're allowing anonymous access, then I don't think you'll get a username.