#17351 [Com]: Posted data from textareas gets garbled

From: Date: Tue, 02 Sep 2003 21:53:36 +0000
Subject: #17351 [Com]: Posted data from textareas gets garbled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47089@lists.php.net to get a copy of this message
ID: 17351 Comment by: sgibbons at dirtytwinkie dot com Reported By: jon at barlownet dot com Status: No Feedback Bug Type: Apache2 related Operating System: Linux (red hat 7.2) + Apache 2.0 PHP Version: 4.2.1 New Comment: I am running PHP 4.3.1, Apache 2.0.45, Linux 2.4.20 and a couple of PHP based web scripts (phpBB 2.0.5 and squirrelmail 1.4.0) that reproduce this error consistently. When sending large text in e-mail via squirrelmail, I get the same problem. When posting to my forum via phpBB I get the same problem. Unfortunately, it doesn't seem to happen at the exact same character count. It is roughly 1900 with spaces. Previous Comments: ------------------------------------------------------------------------ [2002-07-19 01:00:12] php-bugs at lists dot php dot net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-06-18 17:26:43] sniper@php.net Please get Apache 2.0.36 and this snapshot of PHP: http://snaps.php.net/php4-latest.tar.gz And let us know if this problem still exists. ------------------------------------------------------------------------ [2002-06-18 09:58:12] jon at barlownet dot com Any script that took text in through a textarea form element was having the problem described. I downgraded to the latest 1.x of Apache and things are fine now. The scripts were nondescript, simply taking post data and putting it into a MySQL database. I checked the text before it was put into the database and it already bore the marks of being garbled. ------------------------------------------------------------------------ [2002-06-18 03:51:04] derick@php.net Any news on this? And can you provide a short reproducing script if it does not work correctly? Derick ------------------------------------------------------------------------ [2002-05-22 00:55:21] jon at barlownet dot com Forms that worked with earlier version of PHP are now garbling the text that gets posted through textarea form elements. The text must have a line return in order to be garbled (i.e., shorter entries don't get garbled). This may be a problem with PHP 4.2.1 and Apache 2.0, but I thought it might be helpful if you're trying to fully support Apache 2.0 eventually. I'm going to try downgrading Apache. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17351&edit=1

« previous php.bugs (#47089) next »