No such thing as a small change | |
PerlMonks |
RE: Getting username and password from the URL.by Kozz (Friar) |
on Jun 11, 2000 at 06:05 UTC ( [id://17566]=note: print w/replies, xml ) | Need Help?? |
If the referring URL also used the same type of user:password authentication, you could always extract both the user & password from the $ENV{'HTTP_REFERER'} using a REGEXP.
UPDATE: I should have tried it first. NO worky. It appears that Netscape (and I'm guessing other browsers) remove this info from the referring url string before sending the request.
In Section
Seekers of Perl Wisdom
|
|