Well 'GetResponse.com' seems to have found a way.
I wrote to them asking why the following code didn't work,
they answered "Using libwww library  is not allowed here".

Here is the code:

#!/usr/bin/perl -wT
use strict;
use CGI qw(:standard);
use CGI::Carp qw(fatalsToBrowser);
use LWP::UserAgent;
use HTTP::Request::Common;

my $ua = LWP::UserAgent->new;
my $res = $ua->request(POST 'http://www.getresponse.com/cgi-bin/add.cgi',
[ 'category2' , 'Prospect Name',
'category3' , '[EMAIL PROTECTED]',
'category1' , 'retireonresidualincome' ]
) ;
print header;
print $res->content




> On Wed, 10 Jul 2002, Jonathan wrote:
> 
> > Is there any way to tell if it's a real HTML form, or a 'virtual form'
> > using LWP to Post data to my CGI?
> 
> No.
> 
> -- 
> Liam Quinn
> 

Reply via email to