On Fri, Sep 07, 2007 at 10:54:23AM -0300, Henry Ponce wrote:
> 
> I have a form that currently checks if the username and password are correct
> in mysql database. I need to know if it's possible to check this information
> on apache server, using maybe $_SERVER['PHP_AUTH_USER'] and
> $_SERVER['PHP_AUTH_PW'].

A bit late, perhaps you already figured this out...  If you're using HTTP 
Basic authentication, yes.

I'm not sure you really want to do this.  The data gets cached in the 
browser.  Are you doing this via a TLS/SSL/https connection?  Otherwise 
your username/passwords are available to snoopers, etc.

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to