fuzzball has asked for the wisdom of the Perl Monks concerning the following question:
$sitehit is defined with a fully qualified URL to a PHP script looking for form input.my $req = new HTTP::Request POST => '$sitehit'; $req->content_type('application/x-www-form-urlencoded'); $req->content('siteurl=$incoming{\'site\'}'); my $res = $ua->request($req); print "<br>Result:<br>\n"; print $res->as_string;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LWP Post And My Pained Brain
by LTjake (Prior) on Nov 24, 2003 at 03:02 UTC | |
|
Re: LWP Post And My Pained Brain
by pg (Canon) on Nov 24, 2003 at 03:06 UTC | |
|
Re: LWP Post And My Pained Brain
by fuzzball (Initiate) on Nov 24, 2003 at 05:01 UTC | |
|
Re: LWP Post And My Pained Brain
by iburrell (Chaplain) on Nov 25, 2003 at 01:07 UTC |