php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25914 $_POST array is always empty
Submitted: 2003-10-19 22:04 UTC Modified: 2003-10-20 00:35 UTC
From: atabac01 at hotmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.3.3 OS: windows XP
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: atabac01 at hotmail dot com
New email:
PHP Version: OS:

 

 [2003-10-19 22:04 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-19 22:24 UTC] atabac01 at hotmail dot com
my mistake, the second field must be method and not action
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon May 12 06:01:28 2025 UTC