inblosam has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to log in to a site and get a page for some parsing, but I can't seem to mimic everything they are doing in the login (so it doesn't work). I then fell upon this node reply by merlyn (here is original node) and thought I would give it a try. However, I don't quite understand how to use it. I want to see the environment variables when I do a manual login to their site and when I try my own post from an LWP script. This is merlyn's code suggestion:
Thanks!
Michael Jensen
michael at inshift.com
http://www.inshift.com
#!/usr/bin/perl print "Content-type: text/plain\n\n"; print "$_\t$ENV{$_}\n" for sort keys %ENV;
Thanks!
Michael Jensen
michael at inshift.com
http://www.inshift.com
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: seeing what is going on in form posts
by dws (Chancellor) on Jun 26, 2002 at 07:26 UTC | |
(wil) Re: seeing what is going on in form posts
by wil (Priest) on Jun 26, 2002 at 09:11 UTC | |
Reverse engineering HTTP transactions
by Joost (Canon) on Jun 26, 2002 at 11:47 UTC | |
Re: seeing what is going on in form posts
by DamnDirtyApe (Curate) on Jun 26, 2002 at 07:27 UTC | |
Re: seeing what is going on in form posts
by zentara (Archbishop) on Jun 26, 2002 at 16:19 UTC |
Back to
Seekers of Perl Wisdom