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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: O dot deJong at VERSZUZ dot NL
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Tue Apr 30 22:01:31 2024 UTC