Theuerkorn Johannes wrote at Tue, 25 Jun 2002 14:58:45 +0200: > 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 "+")
If the + shall be a blank ' ', then use %20, if the + shall be a plus '+', then use %2B. Greetings, Janek -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]