[PHP] help: form fields have CR/LF on submit
I submit a form with multipart/form-data, where a field 'name' contains let's say 'john'. On submit, I do get the expected global $name -variable but the content has a CR/LF or /n character in front of the actual content, like: ' john' instead of 'john'. Can anyone advise on this??? The script has been running on another machine so far without any problems, but upon moving it to a new server with php4, I started getting this bug. thanks greets -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] help: form fields have CR/LF on submit
On Friday 21 September 2001 17:17, Patrick Sibenaler wrote: I submit a form with multipart/form-data, where a field 'name' contains let's say 'john'. On submit, I do get the expected global $name -variable but the content has a CR/LF or /n character in front of the actual content, like: Hi, As I wrote before for me this was caused by Konqueror. But I think I read it on bugs.php.net (about half year ago) that there was a bug in an older (but still v4) PHP, maybe in 4.02 that causes the same effect. So if you have an older php on the other server try to upgrade it to the newest version. Arpi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] help: form fields have CR/LF on submit
PHP 4.0.4pl1 is used here on an Apache 1.3.14 on a RedHat Linux 7.0 Kernel 2.2.17 Tamas Arpad wrote: On Friday 21 September 2001 17:17, Patrick Sibenaler wrote: I submit a form with multipart/form-data, where a field 'name' contains let's say 'john'. On submit, I do get the expected global $name -variable but the content has a CR/LF or /n character in front of the actual content, like: Hi, As I wrote before for me this was caused by Konqueror. But I think I read it on bugs.php.net (about half year ago) that there was a bug in an older (but still v4) PHP, maybe in 4.02 that causes the same effect. So if you have an older php on the other server try to upgrade it to the newest version. Arpi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] help: form fields have CR/LF on submit
PHP 4.0.4pl1 is used here on an Apache 1.3.14 on a RedHat Linux 7.0 Kernel 2.2.17 Tamas Arpad wrote: On Friday 21 September 2001 17:17, Patrick Sibenaler wrote: I submit a form with multipart/form-data, where a field 'name' contains let's say 'john'. On submit, I do get the expected global $name -variable but the content has a CR/LF or /n character in front of the actual content, like: Hi, As I wrote before for me this was caused by Konqueror. But I think I read it on bugs.php.net (about half year ago) that there was a bug in an older (but still v4) PHP, maybe in 4.02 that causes the same effect. So if you have an older php on the other server try to upgrade it to the newest version. Arpi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] help: form fields have CR/LF on submit
PHP 4.0.4pl1 is used here on an Apache 1.3.14 on a RedHat Linux 7.0 Kernel 2.2.17 Tamas Arpad wrote: On Friday 21 September 2001 17:17, Patrick Sibenaler wrote: I submit a form with multipart/form-data, where a field 'name' contains let's say 'john'. On submit, I do get the expected global $name -variable but the content has a CR/LF or /n character in front of the actual content, like: Hi, As I wrote before for me this was caused by Konqueror. But I think I read it on bugs.php.net (about half year ago) that there was a bug in an older (but still v4) PHP, maybe in 4.02 that causes the same effect. So if you have an older php on the other server try to upgrade it to the newest version. Arpi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] help: form fields have CR/LF on submit
Before others wate their time on this: The bug has officially been filed for RedHat 7.0 and php 4.0.4pl1: http://bugs.php.net/index.php?id=8966 thanks tamas. Tamas Arpad wrote: On Friday 21 September 2001 17:17, Patrick Sibenaler wrote: I submit a form with multipart/form-data, where a field 'name' contains let's say 'john'. On submit, I do get the expected global $name -variable but the content has a CR/LF or /n character in front of the actual content, like: Hi, As I wrote before for me this was caused by Konqueror. But I think I read it on bugs.php.net (about half year ago) that there was a bug in an older (but still v4) PHP, maybe in 4.02 that causes the same effect. So if you have an older php on the other server try to upgrade it to the newest version. Arpi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]