#41879 [Fbk->Opn]: POST array becomes empty
| From: | getmequick at gmail dot com | Date: | Mon, 02 Jul 2007 23:55:44 +0000 |
| Subject: | #41879 [Fbk->Opn]: POST array becomes empty | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-114560@lists.php.net to get a copy of this message | ||
ID: 41879
User updated by: getmequick at gmail dot com
Reported By: getmequick at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: Session related
Operating System: Linux
PHP Version: 5.2.3
New Comment:
OK, where do I find the latest snapshot's changelog?
Previous Comments:
------------------------------------------------------------------------
[2007-07-02 23:44:19] sniper@php.net
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!
------------------------------------------------------------------------
[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