In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Michael Kelly) wrote:
> > I need to automate a function that hits a site that pops up a login and > > password box from apaches htaccess. I have my own login and password. How do > > I > > post my login and password to bypass the popup window?????????? > This has nothing to do with Perl. If I understand your question correctly, > though, you're not trying to bypass anything; you're trying to stick the > login and pass into the URL so you don't get the "login" dialog. I don't > know how to do this -- take this somewhere else. easy now - this is a completely legimate Perl question, and it has a Perl answer. if your response is ever "i don't know how to do this" then it's best to let someone else respond. :) the LWP module allows you to specify a username and password for a request. if you do this for the initial request (because you know the web server is going to ask for it if you don't), then the server won't issue the challenge and will send back what you requested assuming the credentials are good. is question has been asked quite a bit, so you can read previous good answers by searching http://groups.google.com/ for "LWP paswords perl". :) -- brian d foy <[EMAIL PROTECTED]> - Perl services for hire CGI Meta FAQ - http://www.perl.org/CGI_MetaFAQ.html Troubleshooting CGI scripts - http://www.perl.org/troubleshooting_CGI.html -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
