ID: 37276
Updated by: [EMAIL PROTECTED]
Reported By: puovils at gmail dot com
-Status: Open
+Status: Critical
Bug Type: *General Issues
PHP Version: 5.1.3
Previous Comments:
------------------------------------------------------------------------
[2006-05-03 10:14:01] kervala at jpopdb dot net
I also have the same problem on a LFS Linux with PHP 5.1.3 and Apache
2.2.2, all forms of my sites are not working anymore due to this
critical bug...
My HTML code :
------------------
<input class="forminputtext" type="text"
name="tab[38][partenaire_responsable]"
id="tab[38][partenaire_responsable]" value="Correct Name"
maxlength="100" size="69" />
------------------
$_POST data returned by this form :
-------------------
[partenaire_responsable] => Array
(
[tion] => Correct Name
)
-------------------
instead of :
------------------
[partenaire_responsable] => Correct Name
------------------
I think the "tion" index comes from a previous field named
"partenaire_description" so it could be possible that previous field
name was incorrectly deleted from memory.
------------------------------------------------------------------------
[2006-05-03 09:17:53] zc dot job at gmx dot net
i also get the problem on a fedora core 5/php 5.1.3,
the problem dosn't apear if the form is submit via GET!
is there a bug fix?
zc
------------------------------------------------------------------------
[2006-05-03 02:12:58] eric dot caron at gmail dot com
I really don't mean to be "chicken little", but isn't this serious
enough that it warrants 5.1.3.1 and/or a recall of 5.1.3?
Its happening on all the linux boxes I've tried.
------------------------------------------------------------------------
[2006-05-02 21:25:17] mjackson at datahost dot com
To add to puovils at gmail dot com's comments, you get the expected
results if the form is submitted via GET.
------------------------------------------------------------------------
[2006-05-02 14:17:39] puovils at gmail dot com
Description:
------------
problems witch $_POST array
Reproduce code:
---------------
<?php
echo "<pre>";
print_r($_POST);
echo "</pre>";
?>
<html>
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<form method="post" action="" enctype="multipart/form-data">
<input type="text" name="masivasid[id_1]" value="Nzzz1"/><br/>
<input type="text" name="masivasid[id_2]" value="Nzzz2"/><br/>
<input type="submit"/>
</form>
</body>
</html>
Expected result:
----------------
Array
(
[masivasid] => Array
(
[id_1] => Nzzz1
[id_2] => Nzzz2
)
)
Actual result:
--------------
Array
(
[masivasid] => Array
(
[id_1] => Nzzz1
[id_2] => Array
(
[id_1] => Nzzz2
)
)
)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37276&edit=1