#41879 [Opn->Fbk]: POST array becomes empty
| From: | sniper@php.net | Date: | Mon, 02 Jul 2007 23:44:19 +0000 |
| Subject: | #41879 [Opn->Fbk]: POST array becomes empty | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-114559@lists.php.net to get a copy of this message | ||
ID: 41879
Updated by: sniper@php.net
Reported By: getmequick at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Linux
PHP Version: 5.2.3
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
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!
Previous Comments:
------------------------------------------------------------------------
[2007-07-02 23:42:30] getmequick at gmail dot com
it's Apache 1.3x
------------------------------------------------------------------------
[2007-07-02 23:33:31] sniper@php.net
What SAPI are you using? (Apache, CGI / FastCGI, something else?)
------------------------------------------------------------------------
[2007-07-02 23:27:43] getmequick at gmail dot com
Description:
------------
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" />
</form>
------------
test2.php page
<?php
session_start();
print_r($_POST);
?>
Expected result:
----------------
Array ( [text] => blah [text2] => Submit )
Actual result:
--------------
Array ( )
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41879&edit=1