Removing "+" in $ENV{QUERY_STRING}
- From: manojkumarg@xxxxxxxxxx
- Date: Mon, 25 Feb 2008 22:49:07 +0500
Hello List,
I am trying to build a webpage where I can enter hostname in a text box and up on hitting the key this searches multiple .csv files and prints them in the webpage itself. I am facing a problem with $ENV(QUERY_STRING} which take “+” when the textbox is entered with spaces in the beginning or end.
Tried to remove the starting and end spaces by
s/^\s+// and s/\s+$// .Nothing works for me here. Am I doing any thing wrong here?
Can any one help me in removing the “+” in the printed value? Because of this “+” in the variable my search does not work.
Any help will be appreciated.
Thanks
.
- Follow-Ups:
- Re: Removing "+" in $ENV{QUERY_STRING}
- From: Justin Hawkins
- Re: Removing "+" in $ENV{QUERY_STRING}
- Prev by Date: Re: scalar / hash problem in HTML::Parser
- Next by Date: Re: Removing "+" in $ENV{QUERY_STRING}
- Previous by thread: Hash Sorting Problem
- Next by thread: Re: Removing "+" in $ENV{QUERY_STRING}
- Index(es):