Maybe you could parse out the variable from the page?
Somthing like:
$page =~ /name="PHPSESSID" value="([^"+])"/
$sessionid = $1;
$action = "http://www.varig.com/gigof/web/LoginEscala.php";;
$response= $ua->request(POST $action,["PHPSESSID"=>$sessionid,
"sNomeGuerra"=>"RODRIGUES LOUREIRO",
"sEmail
If you're using Active State Perl, go to the command line, type 'ppm'
(Perl Package Manager).
If you have version 5.8,type
install http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd
If you have version 5.6,type
install http://theoryx5.uwinnipeg.ca/ppmpackages/Crypt-SSLeay.ppd
half way through t
Something like this?
open(fh, "/Program Files/OptiPerl/url.alls") or die "Couldn't open URL
file!\n";
while () {
chomp;
my $res = $mech->get( $_ );
if ($res->code > 399) {
print $_." is bad\n";
}
}
-Original Message-
From: Brian Volk [mailto:
Hi all,
I'm having problems logging into a site with LWP and I think it might be
something to do with the header or an encoding thing.
I have to parse out a couple session identifiers from the log in page
$login_page =~ s/[\r\n]//g;
$login_page =~ /__V
I figured out what was wrong, I was giving useragent POST parameters that
had already been URL encoded ("Log+In" rather than "Log In" for example)
-Original Message-
From: Chris Greenhill [mailto:chr...@oxxfordinfo.com]
Sent: Tuesday, July 12, 2011 12:29 PM
To: lib
.substring(0, nIndex);
}
else
{
strBase = window.location.href;
}
strBase += "SACDHome/";
document.writeln("<BASE HREF='" + strBase + "'>");
What's going on here and how can I get the proper base?
Thanks for any help,
Chris Greenhill
Hello.
When I try to add a cookie header to a request that was generated from
an HTML::Form like so...
$request = $form->make_request;
$cookie_jar->add_cookie_header($request);
I get an error saying
'Can't locate object method "epath" via package "URI::http" at
Cookies.pm line 110'
I looked at the
I think this is occurring because that server is using chunked transfer-encoding
which I don't know if LWP supports yet (wasn't Gisle working on this?)
Curt Powell wrote:
> All,
>
> I ran across a couple of URL's that are peculiar. When these are downloaded
> with LWP::UserAgent in its simples
I had no problem with LWP::Simple version 1.32
What version are you using?
Chris G.
lanetic wrote:
> i'm use LWP::simple
>
> getprint("http://www.lanetic.de";);
>
> Can't locate object method "host" via package "URI::_generic"
> ???
>
> thanxxx
Hi,
I can't seem to pass a hash to a request like this -
my $request = HTTP::Request->new(POST=>$action,%args);
I get an error saying 'Bad header argument'. I'm sure it's just a symantic
problem on my part
Christopher Greenhill
Thanks for the help. I tried \%args and I got
-Can't call method "clone" on unblessed reference at Message.pm line 53
probably something else I'm doing somewhere
Christopher Greenhill
Hello,
This is probably wishfull thinking but I'll ask anyway - has anybody
come up with a way to grab redirects from flash movies?
Thanks for any help -
Chris G.
Thanks, I'll give these a try!
Chris G.
-Original Message-
From: Simon Wistow [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 4:20 AM
Cc: [EMAIL PROTECTED]
Subject: Re: Dealing with flash redirects
On Thu, Jan 16, 2003 at 08:47:50PM +0200, Octavian Rasnita said:
> It would be w
I think you want to pass a reference to the array and not the array itself
$config->{commision_distribution_chart} = [EMAIL PROTECTED];
my $aref = $config->{commision_distribution_chart};
@distribution_array = @$aref;
foreach my $bob (@distribution_array) {
# Do something
}
- By the way
14 matches
Mail list logo