#25914 [Csd->Bgs]: $_POST array is always empty
| From: | sniper@php.net | Date: | Mon, 20 Oct 2003 04:35:35 +0000 |
| Subject: | #25914 [Csd->Bgs]: $_POST array is always empty | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-49213@lists.php.net to get a copy of this message | ||
ID: 25914
Updated by: sniper@php.net
Reported By: atabac01 at hotmail dot com
-Status: Closed
+Status: Bogus
Bug Type: *General Issues
Operating System: windows XP
PHP Version: 4.3.3
Previous Comments:
------------------------------------------------------------------------
[2003-10-19 22:24:48] atabac01 at hotmail dot com
my mistake, the second field must be method and not action
------------------------------------------------------------------------
[2003-10-19 22:04:17] atabac01 at hotmail dot com
Description:
------------
$_POST array is always empty
Reproduce code:
---------------
<?php
?>
<HTML>
<BODY>
<form action="addZip.php" action="post">
<input type="text" name="zipcode">
<input type="submit" name="submit" value="add">
</form>
</HTML>
Expected result:
----------------
when file addZip is called $_POST should contain fileds for zipcode and
submit.
Actual result:
--------------
$_POST is empty
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25914&edit=1