> -----Original Message-----
> From: Abel Lucano [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 13, 2001 3:35 PM
> To: [EMAIL PROTECTED]
> Subject: calling a external cgi from a form passing parameters
>
>
> Hi everyone,
>
> why this doesn't pass $username and $password to checkuser.cgi script??
> when the form is filled out I only see
>
> http://external-server/cgi-
> bin/checkuser.cgi?user=$usuario&pass=$contrasena
>
> and $usuario it's not replaced by param('username'), etc
>
> Any advice will be very appreciated,
>
>
>
> #!/usr/bin/perl
>
> use CGI;
> use CGI::Carp 'fatalsToBrowser';
>
> $q = new CGI;
> print $q->header,
> $q->start_html({bgcolor=>"white"}, 'Check users'),
> $q->h1('Check users'),
> $q->br,
> $q->start_form(-action=>'http://external-server/cgi-
> bin/checkuser.cgi?user=$usuario&pass=$contrasena'),
> $q->h3('type user name'),
<<snip>>
Perl does not interpolate variables in strings using single quotes '' try
using double quotes ""
Good Luck
Billy