|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41879 POST array becomes empty
Submitted: 2007-07-02 23:27 UTC Modified: 2007-07-10 01:00 UTC
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (33.3%)
From: getmequick at gmail dot com Assigned:
Status: No Feedback Package: Session related
PHP Version: 5.2.3 OS: Linux
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.
Block user comment
Status: Assign to:
Bug Type:
From: getmequick at gmail dot com
New email:
PHP Version: OS:


 [2007-07-02 23:27 UTC] getmequick at gmail dot com
We have recently installed SSL support to our domain and some problems
came up, 

When we submit html form by using POST method, we get session vars instead in $_POST array or just empty array, if there no session vars registered.

This happens only if we start session before, if we don't, $_POST array has values as expected.

Reproduce code:
test1.php page

<form action="test2.php" method="post">
<input type="text" name="text" />
<input type="submit" name="text2" value="Submit" />

test2.php page

Expected result:
Array ( [text] => blah [text2] => Submit  )

Actual result:
Array ( )


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-02 23:33 UTC]
What SAPI are you using? (Apache, CGI / FastCGI, something else?)
 [2007-07-02 23:42 UTC] getmequick at gmail dot com
it's Apache 1.3x
 [2007-07-02 23:44 UTC]
Please try using this CVS snapshot:
For Windows (zip):

For Windows (installer):

There was one issue fixed in CVS which _might_ be causing this so please try the snapshot. Lot of other issues were fixed too, so if you encounter any other problems, don't hesitate reporting them too in separate reports!
 [2007-07-02 23:55 UTC] getmequick at gmail dot com
OK, where do I find the latest snapshot's changelog?
 [2007-07-03 00:23 UTC]
The urls posted above direct you to packages to download and those packages contain the NEWS file with all fixes and changes, etc.
 [2007-07-10 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2007-12-13 01:26 UTC] chili at tea dot club dot ne dot jp
Does 5.2.3 or CurrentVersion have this fix?
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun May 28 06:03:41 2023 UTC