Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.6.0a3

Request #11205 register globals SERVER not SESSION
Submitted: 2007-06-01 13:02 UTC
From: derelict Assigned: arpad
Status: Closed Package: PHP_Compat (version 1.5.0)
PHP Version: Irrelevant OS: Win XPSP2
Roadmaps: 1.6.0a2    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 1 + 35 = ?

 
 [2007-06-01 13:02 UTC] derelict (Lorem Ipsum)
Description: ------------ In file /Compat/Environment/register_globals_on.php is wrong value of $superglobals array. According to PHP manual: "S" means "_SERVER" not "_SESSION" Test script: --------------- $superglobals = array( 'S' => '_SESSION', /* "S" means "SERVER" not "SESSION"*/ 'E' => '_ENV', 'C' => '_COOKIE', 'P' => '_POST', 'G' => '_GET' );

Comments

 [2007-06-02 13:57 UTC] arpad (Arpad Ray)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.