in reply to Re: Perl Cgi Login Question
in thread Perl Cgi Login Question
however, how do you access the orignal site that I want go to instead of me retrival data from the site?use LWP::UserAgent; $ua = LWP::UserAgent->new; $req = HTTP::Request->new(GET => 'http://www.linpro.no/secret/'); $req->authorization_basic('aas', 'mypassword'); print $ua->request($req)->as_string;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl Cgi Login Question
by jdtoronto (Prior) on Aug 22, 2006 at 16:57 UTC |