Basic HTTP Authentication & PHP-FastCGI

mike mike503 at
Tue Jul 22 23:59:32 MSD 2008

like PHP_AUTH_USER that Apache gives you and stuff?

you can do it purely in PHP:

it would be neat if the server would pass an environment variable of
the name of the logged in user after it's done it's password check

On 7/22/08, Phillip B Oldham <phill at> wrote:
> I'm sure its possible, but I can't seem to find any documentation on it...
> How would I pass the Basic HTTP Authentication user & password over to PHP
> to do the check?
> --
> *Phillip B Oldham*
> The Activity People
> phill at
> <mailto:phill at>
> ------------------------------------------------------------------------
> *Policies*
> This e-mail and its attachments are intended for the above named
> recipient(s) only and may be confidential. If they have come to you in
> error, please reply to this e-mail and highlight the error. No action should
> be taken regarding content, nor must you copy or show them to anyone.
> This e-mail has been created in the knowledge that Internet e-mail is not a
> 100% secure communications medium, and we have taken steps to ensure that
> this e-mail and attachments are free from any virus. We must advise that in
> keeping with good computing practice the recipient should ensure they are
> completely virus free, and that you understand and observe the lack of
> security when e-mailing us.
> ------------------------------------------------------------------------

More information about the nginx mailing list