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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 08:01:28 2024 UTC