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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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 May 21 10:02:33 2024 UTC