> I set up a user-auth script that checks $PHP_AUTH_USER & $PHP_AUTH_PW
> against a db with login/pwd information, but on the server my site is
> this doens't work because PHP runns as cgi.
> How do I do this with PHP running as a cgi?
You'll have to either:
Re-code it to get different variables in a web FORM.
Not use PHP at all, and use mod_auth_mysql
Use .htaccess instead of PHP (only suitable for small # of users, probably)
I think it's a security issue that you'd be passing the username/password
from Apache to the CGI in an insecure manner... Don't quote me on that
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]