in reply to Multpile checkbox handling?
The Problem is, my script above writes simply nothing into the database. Anybody has an idea, what I'm doing wrong? Thanks again GG$ENV{'REQUEST_METHOD'} =~ tr/a-z/A-Z/; if ($ENV{'REQUEST_METHOD'} eq "POST"){ read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); } else { $buffer = $ENV{'QUERY_STRING'}; } @pairs = split(/&/, $buffer); foreach $pair (@pairs){ ($name, $value) = split(/=/, $pair); $value =~ tr/+/ /; $value =~ s/%(..)/pack("C", hex($1))/eg; $input{$name} = $value; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Multpile checkbox handling?
by eejack (Hermit) on Apr 16, 2001 at 09:11 UTC |