|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-09-21 13:53 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 20:00:02 2025 UTC |
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