ID: 37439
Updated by: tony2001@php.net
Reported By: cjm at cjmweb dot fsnet dot co dot uk
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: SuSE Linux 10.0
PHP Version: 5.1.4
New Comment:
>I get a Content-Length=0 into PHP (as reported
by PHPInfo), if that's any help!
Well, then it's clearly not PHP problem: no data -> no variables.
Previous Comments:
------------------------------------------------------------------------
[2006-05-14 18:18:55] cjm at cjmweb dot fsnet dot co dot uk
Oops, I closed the bug!
------------------------------------------------------------------------
[2006-05-14 18:18:22] cjm at cjmweb dot fsnet dot co dot uk
My current config is now
variables_order=GPC
I did have it as the default: EGPCS and then changed it to see if there
would be any difference. I get a Content-Length=0 into PHP (as reported
by PHPInfo), if that's any help!
------------------------------------------------------------------------
[2006-05-14 17:36:19] tony2001@php.net
Please check variables_order value in your php.ini.
------------------------------------------------------------------------
[2006-05-14 17:30:08] cjm at cjmweb dot fsnet dot co dot uk
Description:
------------
Whenever I submit a PHP Form, GET is populated and POST is not, even if
a PHPINFO on the form reports that it is a POST request. The problem is
reproducible every time on my system.
Reproduce code:
---------------
Take any form with method='POST' and it will fail!
Expected result:
----------------
The $_POST variable is populated along with $_GET.
Actual result:
--------------
$_POST is empty. $_GET has the query string variables.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37439&edit=1