#41879 [Opn->Fbk]: POST array becomes empty

From: Date: Mon, 02 Jul 2007 23:33:31 +0000
Subject: #41879 [Opn->Fbk]: POST array becomes empty
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-114557@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: What SAPI are you using? (Apache, CGI / FastCGI, something else?) Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#114557) next »