Re: How to pass the username in NT domain authentication to PHP script?
| From: | KK Lee | Date: | Sat, 20 Jul 2002 19:56:31 +0000 |
| Subject: | Re: How to pass the username in NT domain authentication to PHP script? | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14862@lists.php.net to get a copy of this message | ||
Dear Stuart,
thanks for your reply.
I read, from another thread, something about the variable $REMOTE_USER which
may serve the purpose.
what's the difference between this with the one you mentioned?
BTW, i apologize for my mistake in posting duplicated messages since i didn't
see my messages posted in the newsgroup and i kept on retrying. Then i realized
that i had to confirm my e-mail address before my message could be posted.
regards,
KK Lee
Stuart Dallas 寫入:
> On Saturday 20 July 2002 8:26 am, KK Lee wrote:
> > In a windows 2000 IIS 5.0 and PHP scenerio, if NT domain authentication
> > is employed, is there any means to pass the username into PHP scripts
> > for further processing?
>
> The username should be in $_SERVER['PHP_AUTH_USER'].
>
> In future, please only send a question once and only in a new thread. Annoying
> people won't generally encourage people to help you.
>
> --
> Stuart