Re: Plus sign changing to space in html form
| From: | Tom Woody | Date: | Tue, 29 Oct 2002 00:00:46 +0000 |
| Subject: | Re: Plus sign changing to space in html form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121793@lists.php.net to get a copy of this message | ||
I did your little test and couldn't reproduce the problems you are
having. as+df gets returned correctly.
Test server: Apache 1.3.23-11 w/ PHP 4.1.2-7 (RH7.3 rpms)
On Tue, 29 Oct 2002 00:26:39 +0100
"Stan" <stann@pobox.sk> wrote:
> When i post a string containing plus sign with htmp form to a php
> scritp, the '+' is changed to space.
> e.g: i enter 'as+df' to a text input but $_POST[] returns 'as df'
> instead. It must be in php or apache configuration bcause i have this
> problem only on sytem with FreeBSD. On windows it works as expected.
>
> Know someone how could i make the '+' left intact? Please help.
>
>
> <?
> echo $_POST['test'];
> ?>
> <form actiom='test.php' method=POST>
> <input type=text value='' name=test>
> <input type=submit value='submit'>
> </form>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Tom Woody
Systems Administrator
NationWide Flood Research, Inc.
phone: 214-631-0400 x209
fax: 214-631-0800
Don't throw your computer out the window,
throw the Windows out of your computer!