Thanks, but this doesn´t work either, the problem with the + is that the cgi:param method takes everything after the & sign as the next variable. As the syntax for the param method is: http://server/script.pl?variable1=value&variable2=value...etc
> -----Ursprüngliche Nachricht----- > Von: MECKLIN, JOE (ASI) [SMTP:[EMAIL PROTECTED]] > Gesendet am: Dienstag, 25. Juni 2002 15:05 > An: 'Theuerkorn Johannes' > Betreff: RE: param problem > > In place of the plus sign (+), try sending the html encoding + > The html on the receiving end should translate that to a plus sign. > > > > -----Original Message----- > From: Theuerkorn Johannes [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 25, 2002 7:59 AM > To: [EMAIL PROTECTED] > Subject: cgi:param problem > > > Hi there, > > i´ve got to pass a serial number to a perl.cgi. Doing it via the cgi:param > funktion seems not to work. > > > >use strict; > >use CGI; > >use DBI; > >my $cgi_obj = new CGI; > >my $seriennummer = $cgi_obj->param("seriennummer"); > > Passing http://server/script4.pl?seriennummer=CN+/P4226666 > > results in a variable seriennummer=CN/P4226666 > > As i want to use the variable seriennummer for an SQL Query later, this > doesn´t work. > > Any possibility passing the + to my cgi Script? (\+ doesn´t work, either '+' > or "+") > > Johannes > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]