You probably configured --enable-mbstr-enc-trans which had this issue in 4.2.3; since you are probably not really using that functionality (because if you really knew what it does, you wouldn't have enabled it!), remove the option and reconfigure.
IIRC, Yasuo fixed this in the branch (and in HEAD). --Wez. On 18/09/02, [EMAIL PROTECTED] wrote: > Yes I got the same bug. > <[EMAIL PROTECTED]> a écrit dans le message de news: > [EMAIL PROTECTED] > > From: [EMAIL PROTECTED] > > Operating system: Linux 2.4.9-34 (RedHat 7.2) > > PHP version: 4.2.3 > > PHP Bug Type: Apache2 related > > Bug description: HTTP_POST_VARS trims 4 characters from left side of each > field with array name > > > > After submitting a form, HTTP_POST_VARS trims 4 characters from left side > > of each field in a form which has name as an array. Example: > > > > <?php > > echo "my[1]: " . $my[1] . "<br />"; > > echo "my[2]: " . $my[2] . "<br />"; > > echo "my[3]: " . $my[3] . "<br />"; > > echo "my4: " . $my4 . "<br />"; > > echo "my5: " . $my5 . "<br />"; > > ?> > > <form action="1.php" name="name" method="post"> > > <input type="text" name="my[1]" value='1234567890'> > > <input type="text" name="my[2]" value='abcdefghijklmnop'> > > <input type="text" name="my[3]" value='a1b2c3d4e5f6g7'> > > <input type="text" name="my4" value='abcdefghijklmnop'> > > <input type="text" name="my5" value='http://www.msn.com/'> > > <input type=submit name=submit value=Submit /> > > </form> > > > > > > The OUTPUT I got: > > my[1]: 567890 > > my[2]: efghijklmnop > > my[3]: c3d4e5f6g7 > > my4: abcdefghijklmnop > > my5: http://www.msn.com/ -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php