Re: Authentication
| From: | scottrus at ipass dot net | Date: | Tue, 04 Jul 2000 11:03:35 +0000 |
| Subject: | Re: Authentication | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4807@lists.php.net to get a copy of this message | ||
There is a hack in apache source which allows apache to pass the passwd
to the cgi as well as the user name. You'll need to read the apache
source code to enable it and recompile.
-- Scott
> ** Reply to note from Frederic.Lhoest@afrilink.net Tue, 04 Jul 2000 15:57:47 +0200
> >
> > Hi to all,
> >
> > I'm trying to catch the user name and the password of the user logged
> > in with http authentication from the webserver ... how can I do that
>
> If Apache is doing the password verification, you can't. The password
> is between the viewer and Apache. You can get the user name from
> $REMOTE_USER, but the password is not forwarded to PHP.
>
> Rick Widmer
> Internet Marketing Specialists
> www.developersdesk.com
--
Scott