#46261 [Opn]: $_POST array is not populating
| From: | srinivas dot shanmugam at logica dot com | Date: | Thu, 09 Oct 2008 04:24:35 +0000 |
| Subject: | #46261 [Opn]: $_POST array is not populating | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-129578@lists.php.net to get a copy of this message | ||
ID: 46261
User updated by: srinivas dot shanmugam at logica dot com
-Summary: $_REQUEST array is not populating
Reported By: srinivas dot shanmugam at logica dot com
Status: Open
Bug Type: Scripting Engine problem
Operating System: Debian
PHP Version: 5.2CVS-2008-10-09 (snap)
New Comment:
Sorry , only the $_POST array is not populating. $_GET array is
populating fine.
Previous Comments:
------------------------------------------------------------------------
[2008-10-09 04:20:21] srinivas dot shanmugam at logica dot com
Description:
------------
$_POST and $_GET arrays are not populating when i submit the
form.Please take a look at the php info
http://80.248.161.105/mapstream/info.php.
Version : PHP Version 5.2.0-8+etch13
Reproduce code:
---------------
Form values are not populating :
Sample piece of Code from the file which handles all form request
handler and log it in text file:
$v = var_export($_REQUEST, true);
$this->logger->write("Request array are $v", INFO, "Controler Log");
1. Submit the Username and Password and click on Login Button
Currently Request array populated Inside the Log File :
INFO: Request array are array (
'PHPSESSID' => '8185386bb48b0e3c1aefd6ff4da79062',
)
Expected result:
----------------
$_POST and $_GET array should populate when the form is submitted.
Step :
1. Submit the Username and Password and click on Login Button
Expected Request array populated Inside the Log File
------------------------------------------------------
10-07-08 6:13:06 127.0.0.1 INFO: Controler Log INFO: Inside
Controler Constructor - Requests are array (
'user' => 'test',
'pass' => 'test123',
'sublogin' => '1',
'PHPSESSID' => 'a439203427812c7d3a67ecfbf26d1b7b',
)
Actual result:
--------------
10-07-08 6:13:06 127.0.0.1 INFO: Controler Log INFO: Inside
Controler Constructor - Requests are array (
'PHPSESSID' => 'a439203427812c7d3a67ecfbf26d1b7b',
)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46261&edit=1