gy7
asked on
IIS4 passing a value that contains a whitespace to a perl CGI
My perl CGIs worked fine with other web servers (Sambar, Xitami), but now I need them to work on IIS4.
The problem is when I'm trying to pass a value that contains a whitespace to my CGI. IIS just won't do that.
My CGI has a line like this:
$var = param('Name');
And I'm calling it like this:
MyCGI.pl?Name=Some Value
And it doesn't work (as I mentioned - it worked on other web servers).
It only workes like that:
MyCGI.pl?Name=SomeValue
Can somebody help me?
The problem is when I'm trying to pass a value that contains a whitespace to my CGI. IIS just won't do that.
My CGI has a line like this:
$var = param('Name');
And I'm calling it like this:
MyCGI.pl?Name=Some Value
And it doesn't work (as I mentioned - it worked on other web servers).
It only workes like that:
MyCGI.pl?Name=SomeValue
Can somebody help me?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Well, after a long struggle, the correct solution turned out to be replacing the spaces with "+"s.
Anyway, thanks, you helped leading me there.
Anyway, thanks, you helped leading me there.
ASKER