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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
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

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 10 10:01:27 2024 UTC