Re: How can I populate or bypass the mod_auth_mysql prompt
| From: | Paul Nicholson | Date: | Sat, 20 Sep 2003 01:45:41 +0000 |
| Subject: | Re: How can I populate or bypass the mod_auth_mysql prompt | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163258@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 19 September 2003 09:36 pm, Daevid Vincent wrote:
> 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?
8< snip
Hey Daevid,
Redirect them to the page using:
http://username:password@www.the_url_here.com/protected_section/
HTH! HAND!
~Paul
- --
~Paul Nicholson
Design Specialist @ WebPower Design
paul@webpowerdesign.net
www.webpowerdesign.net
"The web....the way you want it!"
"It said uses Windows 98 or better, so I loaded Linux!"
Registered Linux User #183202 using Register Linux System # 81891
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE/a7EcDyXNIUN3+UQRAnr0AJ9LubzjwlqYpv/agFEaDlRGDGUqqACeN3Bw
yPJzxGXPY7BuXUTZShuRfa0=
=fr4z
-----END PGP SIGNATURE-----