From: O dot deJong at VERSZUZ dot NL Operating system: WINXP PHP version: 5.0.5 PHP Bug Type: *Programming Data Structures Bug description: $_POST problem
Description: ------------ Look at the name tag of the textfield. $key must be the same after posting. But it is not. It produces a " _ " where it must be a " . " Reproduce code: --------------- <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> </head> <body> <?php foreach($_POST as $key => $value) { echo $key; } ?> <form action="test.php" method="post" target="_self"> <input name="2:ssasdadsa.ac" type="text" value=""> <input name="" type="submit" value="Submit"> </form> </body> </html> Expected result: ---------------- It needs to reproduce the name value of the texfield. Actual result: -------------- It produces a value with an underscore instead of a point -- Edit bug report at http://bugs.php.net/?id=34578&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34578&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34578&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34578&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34578&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34578&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34578&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34578&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34578&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34578&r=support Expected behavior: http://bugs.php.net/fix.php?id=34578&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34578&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34578&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34578&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34578&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34578&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34578&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34578&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34578&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34578&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34578&r=mysqlcfg