PHP :: Bug #37276 :: problems witch $_POST array
| Bug #37276 | problems witch $_POST array | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2006-05-02 14:17 UTC | Modified: | 2006-05-12 13:04 UTC |
|
||||||||||
| From: | puovils at gmail dot com | Assigned: | dmitry (profile) | |||||||||||
| Status: | Closed | Package: | *General Issues | |||||||||||
| PHP Version: | 5.1.3 | OS: | ||||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2006-05-02 14:17 UTC] 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
)
)
)
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2006-05-02 21:25 UTC] mjackson at datahost dot com
[2006-05-03 02:12 UTC] eric dot caron at gmail dot com
[2006-05-03 09:17 UTC] zc dot job at gmx dot net
[2006-05-03 10:14 UTC] kervala at jpopdb dot net
[2006-05-03 10:16 UTC] kervala at jpopdb dot net
[2006-05-03 10:30 UTC] judas dot iscariote at gmail dot com
[2006-05-03 11:05 UTC] kervala at jpopdb dot net