Re: form variables have CR/LF ?
| From: | _lallous | Date: | Fri, 21 Sep 2001 15:30:26 +0000 |
| Subject: | Re: form variables have CR/LF ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68158@lists.php.net to get a copy of this message | ||
in worst cases read it after post via trim()
"Patrick Sibenaler" <patrick@arch.ethz.ch> wrote in message
news:3BAB4E4C.15109305@arch.ethz.ch...
>
>
>
> Does anyone know what is going wrong, when all of a sudden, the
> content of PHP global variables that are generated from a POSTED
> form, have a CR/LF prepended?
>
> That means, looking at a field 'name' where 'john' was typed in,
> I'm getting a variable $name with the content
>
> '
> john'
>
> instead of 'john'
>
> Anyone seen this???? I found that it only happens with the POST
> method. GET works fine (but I cannot use that).
>
> Any help is greatly appreciated.
>
>
> greets.