Page 1 of 1

Getting Username from a windows domain...

Posted: Fri Mar 26, 2004 6:38 am
by pedrokas
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

Re: Getting Username from a windows domain...

Posted: Fri Mar 26, 2004 8:20 am
by TheBentinel.com
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.

Posted: Fri Mar 26, 2004 9:45 am
by pedrokas
that solve the case the host was with anonimous on...

tku


u ppl r fanastik!!!
the important is not to know much...
but to do much with the little we know