Thank You very much for the reply.
So does it mean that using cgi-->params is better than doing &readParse?
regards
Rajeev
*******************************************************
"The human race has one really effective weapon, and that is laughter."
*******************************************************
----- Original Message -----
From: "fliptop" <[EMAIL PROTECTED]>
To: "Rajeev Rumale" <[EMAIL PROTECTED]>
Cc: "Beginners-Cgi (E-mail)" <[EMAIL PROTECTED]>
Sent: Friday, August 03, 2001 8:04 PM
Subject: Re: CGI : Netscape and IE difference.
> [reply posted only to beginners-cgi]
>
> Rajeev Rumale wrote:
> >
> > If we use IE we get all the values appended to gether into a singel
field
> > name.
> > But when the same form is submitted from netscape(4.0). it give only
the
> > first field value. I wonder what happends to the others.
> >
> > I am attaching both the html form and perl script.
>
> ? i only saw the perl, no html was attached. the following works, no
> matter what browser submitted it:
> (i assumed your checkbox <input>'s are named 'foo')
>
>
> use CGI;
> my $cgi = new CGI;
> print $cgi->header();
>
> my @values = $cgi->param('foo');
>
> unless (@values) {
> print "no values were submitted.";
> }
> elsif (scalar(@values) == 1) {
> print "there's one parameter named 'foo', its value is $values[0]";
> }
> else {
> print "there's ", scalar(@values), " parameters named 'foo'.<br>",
> "their values are:<br>";
>
> foreach (@values) {
> print "$_<br>";
> }
> }
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]