How can I populate or bypass the mod_auth_mysql prompt
| From: | Daevid Vincent | Date: | Sat, 20 Sep 2003 01:36:48 +0000 |
| Subject: | How can I populate or bypass the mod_auth_mysql prompt | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-163257@lists.php.net to get a copy of this message | ||
I am using mod_auth_mysql to protect some directories. All works great.
However, when someone joins up, I send them a username/pw for them to login
with. What I'd like is in addition, to shoot them into the protected section
so they don't have to login with these credentials (the first time). I tried
to set these PHP variables, but I still am prompted. Is there some other
trick or way to do this?
$_SERVER['PHP_AUTH_USER'] = $login;
$_SERVER['PHP_AUTH_PW'] = $password;
Daevid Vincent
http://daevid.com