
ilia at lobsanov
Apr 8, 2000, 9:21 AM
Post #5 of 6
(901 views)
Permalink
|
Thank you, Gerald. You are right, it works now! Would it be too much to ask of you to include the check for binary null in Embperl? Who knows... maybe I won't be the only one with such a problem. Best regards, ilia. ----- Original Message ----- From: "Gerald Richter" <richter [at] ecos> To: "Ilia Lobsanov" <ilia [at] lobsanov> Cc: "Embperl [at] Perl Apache. Org" <embperl [at] perl> Sent: Saturday, April 08, 2000 8:48 Subject: RE: POST data > > > > > > That is, in the same environment, when I select *multiple* > > > checkboxes of the > > > same name, they don't get re-checked on the same page after I submit by > > > POST. > > > > > > > Can you send us a small example how your page looks like? > > > > I overseen, that you already done this via private mail (please include > Embperl somewhere in the subject). > > The problem is that Embperl have another format for multiple values with the > same name. Embperl passes them in one string spearated by tabs, while the > CGI.pm's Vars method separates them by a binary null. So s/\0/\t/g should > do the trick. > > Gerald > > > ------------------------------------------------------------- > Gerald Richter ecos electronic communication services gmbh > Internetconnect * Webserver/-design/-datenbanken * Consulting > > Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz > E-Mail: richter [at] ecos Voice: +49 6133 925151 > WWW: http://www.ecos.de Fax: +49 6133 925152 > ------------------------------------------------------------- > >
|