Hi, I thought i have posted the same topic here, but i don't see it anywhere. Anyhow, i have multiple checkboxes with the same name i,e <input = "checkbox" name="test" value ="one"> <input = "checkbox" name="test" value ="two"> <input = "checkbox" name="test" value ="three">
now i'm using the module "use CGI qw(:standard)"; #!/usr/bin/perl use CGI qw(:standard); Now if someone checks the boxes one and three , or all three, I can't get via a loop. But on the other hand instead of using CGI i can get each box that is checked with this read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); @pairs = split(/&/, $buffer); foreach $pair (@pairs) { ($name, $value) = split(/=/, $pair); $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; if ($name eq "cities") { push(@cities,$value); } else { $FORM{$name} = $value; } } But I want to use CGI qw(:standard); It makes life so much easier!!, and I was wondering if it is possible to get those multiple checkbox values. Any help is appreciated, Anthony -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]