For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > December 2004 > Form PARAM is wierd (to me)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Form PARAM is wierd (to me)
Robert

2004-12-10, 8:55 pm

I am getting a wierd value. When I submit the form I am getting
"position=VALUE++" back in the URL. I have no idea where the "++" is coming
from and I can't find a darn thing about it.

Robert


Bill Stephenson

2004-12-10, 8:55 pm

You need to send a snippet of your html that contains the form element
and sending the script, or the snippet, that outputs the response for
us to see what the problem is....

Kindest Regards,

Bill Stephenson
417-546-5593
On Dec 10, 2004, at 1:04 PM, Robert wrote:

> I am getting a wierd value. When I submit the form I am getting
> "position=VALUE++" back in the URL. I have no idea where the "++" is
> coming
> from and I can't find a darn thing about it.
>
> Robert
>
>
>
> --
> To unsubscribe, e-mail: beginners-cgi-unsubscribe@perl.org
> For additional commands, e-mail: beginners-cgi-help@perl.org
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>


David Dorward

2004-12-12, 3:55 pm

On Fri, Dec 10, 2004 at 02:04:33PM -0500, Robert wrote:
> I am getting a wierd value. When I submit the form I am getting
> "position=VALUE++" back in the URL. I have no idea where the "++" is coming
> from and I can't find a darn thing about it.


Most likely they are form encoded space characters. If you pay a visit
to Google and search for something including spaces, you will probably
see the same effect.

I suspect you will find that when you get the value in your CGI script
you will see them converted back to spaces.

--
David Dorward http://dorward.me.uk

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com