php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46261 $_POST array is not populating
Submitted: 2008-10-09 04:20 UTC Modified: 2008-10-09 12:50 UTC
From: srinivas dot shanmugam at logica dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5.2.0 OS: Debian
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: srinivas dot shanmugam at logica dot com
New email:
PHP Version: OS:

 

 [2008-10-09 04:20 UTC] 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',
)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-10-09 04:24 UTC] srinivas dot shanmugam at logica dot com
Sorry , only the $_POST array is not populating. $_GET array is populating fine.
 [2008-10-09 12:50 UTC] jani@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 21:01:30 2024 UTC