ID:               17739
 Comment by:       stevenbg at gmail dot com
 Reported By:      php at remove dot gustl dot net
 Status:           No Feedback
 Bug Type:         Apache2 related
 Operating System: all
 PHP Version:      4.2.1
 New Comment:

i have the same problem with ie6 and a big form (multipart/form-data,
select, BIG textarea with FCKEditor).
i used WPE (winsock packet editor) to capture the packets that IE
generated and, yes, the problem is in IE.
sadly, this bug is very poorly documentated


Previous Comments:
------------------------------------------------------------------------

[2003-09-01 03:51:35] itaka--nothis-- at hotmail dot com

I believe it is Internet Explorer 5 and 6. I have seen this happen on
Win2k, IIS and ASP.

What it looks like is that IE restarts building the formdata after a
certain point, sometimes using the same boundary, sometimes using a
different boundary. When it uses the same boundary, the formfields that
have been already processed, will be repeated. When it uses another
boundary, it depends on how the formdata are being parsed: if only the
last boundary is being used (the one that is send along as a header),
usually there are no problems, although sometimes the first formfield
is send corrupted (and missing after parsing).

I have seen the behaviour both in IE 5 and 6, although IE 6 seems not
so easy to trigger into it.

Also there are quite a number of references to this problem in various
discussion groups. But no one really knows what is going on and what
triggers the bug.

I found that it is needed to use multipart/form-data, have an <input
type="file"> and have a long text in a textarea, which contains
non-standard characters. Also having a javascript-submit helps it
trigger.

other posts refering to this are for example:

http://www.houseoffusion.com/cf_lists/cache/4/23/23107.htm
http://mathforum.org/epigone/modperl/sweuphendbrong/[EMAIL PROTECTED]

------------------------------------------------------------------------

[2003-06-26 18:19:37] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2003-06-20 08:55:42] [EMAIL PROTECTED]

Can you test 4.3.3RC1?  Many Apache2+PHP issues have been fixed since
PHP 4.2.2.  Reporting bugs with PHP 4.2.2 is pretty much useless,
despite what RH ships with.

Download 4.3.3 here:
http://qa.php.net/

------------------------------------------------------------------------

[2002-10-07 11:19:10] rst at biba dot uni-bremen dot de

I could trace the same behaviour in a different script: IE5.0,
multipart/formdata and a special char copied from a Winword document.

Indeed, I wonder, if it is IE5.0 that is doubling the array, or there
is any strange thing (in IE5.0) that causes php to double the array
when receiving it. The first is of course a bug in IE5.0. The latter
would be one in php.

Maybe a developer can sniff the transmitted code and trace if IE5.0 is
already doubling the value(s) or if this happens in php's
value-handling.

René
PS: For the time being we use array_unique() to filter out the doubled
values in our array but this is not helpful if double values are
allowed in an array.

------------------------------------------------------------------------

[2002-06-13 13:27:11] [EMAIL PROTECTED]

It happens because some guy at Microsoft was drunken.

Infact you are triggering a situation where the IE 5.0
simply sends every form field 2 times.




------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/17739

-- 
Edit this bug report at http://bugs.php.net/?id=17739&edit=1

Reply via email to