ID: 17739 Comment by: pranav at vigorsoft dot com Reported By: php at remove dot gustl dot net Status: Bogus Bug Type: Unknown/Other Function Operating System: all PHP Version: 4.2.1 New Comment:
This is not bogus. We have also same problems with RH 9.0, apache 2.0.40 and php 4.2.2. Previous Comments: ------------------------------------------------------------------------ [2003-06-02 20:14:57] sbeam at syxyz dot net confirmed on RH 9.0 default setup w/ Apache 2.0.40 and PHP 4.2.2 - this is NOT bogus. Browser used is irrelevant. Please provide fix. ------------------------------------------------------------------------ [2003-04-28 18:27:47] mark_andrea at labs dot agilent dot com I have the same duplicating array value problem when posting values from a multiple select box [] array using php 4.2.2. Apache 2.0.40. GET method does not duplicate the values. Happens in Netscape 4.08 and IE 5.5 Even the $HTTP_RAW_POST_DATA has duplicate values: multiselect%5B%5D=one&multiselect%5B%5D=two&multiselect%5B%5D=three&submit=Sendmultiselect%5B%5D=one&multiselect%5B%5D=two&multiselect%5B%5D=three&submit=Send Any clues would be appreciated, Thanks ------------------------------------------------------------------------ [2003-03-14 11:54:39] pe_nospam at clearthis dot knoblach dot remove dot de by the way this problem seems to appear only in conjunction with Apache 2.0.x! Everything seems to work normally on 1.3 Another thing: In this combination (php2.3.x and apache 2.0.x) the infamous phpmyadmin sometimes produces strange bugs doing data inserts/updates. I think this might be related, because the phpmyadmin insert statements sometimes seem to have duplicate keys and sometimes look scrambled. Bye Peter ------------------------------------------------------------------------ [2003-03-14 10:11:57] pe_nospam at clearthis dot knoblach dot remove dot de This is a serious problem and it is not bogus! It has nothing to do with IE but is a php 4.2.x 4.3.x bug! imorgan (post above) is exactly right. We also watch this behaviour. By the way we also get some strange string fields, looks like some scrambled C string field which was not cleared correctly. Definitley php bug. It was introduced when we updated php 4.0.x to current 4.3.1! (It did not happen in php 4.0.x) Pleeease fix it! Bye Peter ------------------------------------------------------------------------ [2003-02-09 16:17:00] foo_imorgan_foo at foo_webcon dot ca_foo This is not an IE-only problem. Happens here with Mozilla too, and every other browser I tried. I sniffed the actual protocol exchange, and confirmed that if 5 options are selected, only those 5 are sent to the server. PHP duplicates all except the first item. i.e. 1 submitted: 1 seen, 2 submitted: 3 seem, 3:5, 4:7, 5:9, etc. This is most definitely looks like a PHP bug. (PHP 4.3.0, Apache 2.0.43) ------------------------------------------------------------------------ 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