php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34578 $_POST problem
Submitted: 2005-09-21 13:19 UTC Modified: 2005-09-21 13:53 UTC
From: O dot deJong at VERSZUZ dot NL Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.0.5 OS: WINXP
Private report: No CVE-ID: None
 [2005-09-21 13:19 UTC] O dot deJong at VERSZUZ dot NL
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-21 13:53 UTC] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

You must be really new to PHP for asking this question.
Please read the manual.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC