Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001092

[PHP] Re: form variables have CR/LF ? From: _lallous (elias_bachaalany <email protected>)
Date: 09/21/01

in worst cases read it after post via trim()

"Patrick Sibenaler" <patrick <email protected>> wrote in message
news:3BAB4E4C.15109305 <email protected>
>
>
>
> 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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>