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:
it's Apache 1.3x Previous Comments: ------------------------------------------------------------------------ [2007-07-02 23:33:31] [EMAIL PROTECTED] 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
