#42748 [Opn->Fbk]: $_POST not working
| From: | jani@php.net | Date: | Tue, 25 Sep 2007 09:45:09 +0000 |
| Subject: | #42748 [Opn->Fbk]: $_POST not working | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-117828@lists.php.net to get a copy of this message | ||
ID: 42748
Updated by: jani@php.net
Reported By: mazz3x at gmail dot com
-Status: Open
+Status: Feedback
-Bug Type: Unknown/Other Function
+Bug Type: *General Issues
Operating System: Arch Linux 2007.08.1
PHP Version: 5.2.4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
Previous Comments:
------------------------------------------------------------------------
[2007-09-24 19:38:55] mazz3x at gmail dot com
Description:
------------
when I try to submit i always get the same result...
Reproduce code:
---------------
<?php
echo var_dump($_POST);
echo "<form method=\"post\"
action=\"{$_SERVER['PHP_SELF']}\">
<input type=\"text\" name=\"test\" />
<input type=\"submit\" />
</form>";
?>
Expected result:
----------------
array(1) { ["test"]=> string(7) "testing" }
Actual result:
--------------
array(0) { }
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42748&edit=1