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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
40 + 6 = ?
Subscribe to this entry?

 
 [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: Tue May 21 20:01:32 2024 UTC