RE: form content passing

2004-10-14 Thread Adamiec, Larry
> > > &ReadParse; > > Oi, first off don't do this > > use CGI 'param'; > > instead I have used CGI 'param' before. Don't know why I didn't use here. > > > my $ua = LWP::UserAgent->new; > > > > my $req = POST 'http://some_server/test2.asp', > > [ hidden_1 => 'XXaaXX', > >

Re: form content passing

2004-10-13 Thread Gunnar Hjalmarsson
Larry Adamiec wrote: I am having troubles getting started. I have a Unix (Solaris 9) cgi script which parses a form, processes the contents of the form, and then sends it to a Windows ASP script for more processing and insertion into a Access database. I haven't been able to determine the correct

Re: form content passing

2004-10-13 Thread JupiterHost.Net
&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!!