Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Here is the redirect part:HTTP Error 400 400 Bad Request Due to malformed syntax, the request could not be understood by the se +rver. The client should not repeat the request without modifications.
Please advise how I can get it to accept more than one word in the form entry for my name field.#!/usr/local/bin/perl -w use strict; use CGI qw(:standard); #Perl web CGI module use CGI::Carp qw(fatalsToBrowser); my $query = new CGI; my $name = $query->param("name"); print $query->redirect("http://webserver/action.asp?name=$name");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Passing value with two words or more
by Juerd (Abbot) on Mar 11, 2004 at 14:52 UTC | |
by hmerrill (Friar) on Mar 11, 2004 at 15:10 UTC | |
by Juerd (Abbot) on Mar 11, 2004 at 15:12 UTC | |
by Anonymous Monk on Mar 11, 2004 at 17:08 UTC | |
|
Re: Passing value with two words or more
by dragonchild (Archbishop) on Mar 11, 2004 at 14:53 UTC | |
by Juerd (Abbot) on Mar 11, 2004 at 14:57 UTC |