&ReadParse;
Oi, first off don't do this
use CGI 'param';
instead
then instead of $in{'hidden_2'} you get the value from param('hidden_2')
So
hidden_2 => $in{'hidden_2'}
becomes
my $hid2 = param('hidden_2');
...
hidden_2 => $hid2
See perldoc CGI for details
Also:
use strict; use warnings;
always!!
my $ua = LWP::UserAgent->new;
my $req = POST 'http://some_server/test2.asp', [ hidden_1 => 'XXaaXX', hidden_2 => $in{'hidden_2'} ]; my $content = $ua->request($req)->as_string;
see perldoc LWP::UserAgent for details about how to POST values to a url.
HTH :)
Lee.M - JupiterHost.Net
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>