Yes I got the same bug. --
Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet <[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/ > > -- > Edit bug report at http://bugs.php.net/?id=19460&edit=1 > -- > Try a CVS snapshot: http://bugs.php.net/fix.php?id=19460&r=trysnapshot > Fixed in CVS: http://bugs.php.net/fix.php?id=19460&r=fixedcvs > Fixed in release: http://bugs.php.net/fix.php?id=19460&r=alreadyfixed > Need backtrace: http://bugs.php.net/fix.php?id=19460&r=needtrace > Try newer version: http://bugs.php.net/fix.php?id=19460&r=oldversion > Not developer issue: http://bugs.php.net/fix.php?id=19460&r=support > Expected behavior: http://bugs.php.net/fix.php?id=19460&r=notwrong > Not enough info: http://bugs.php.net/fix.php?id=19460&r=notenoughinfo > Submitted twice: http://bugs.php.net/fix.php?id=19460&r=submittedtwice > register_globals: http://bugs.php.net/fix.php?id=19460&r=globals > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php