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

Bug #15532 ini_set('register_globals', 'off'); not required
Submitted: 2009-01-07 11:09 UTC
From: hm2k Assigned: hm2k
Status: Closed Package: PHP_Compat (version 1.6.0a2)
PHP Version: 5.1.6 OS:
Roadmaps: 1.6.0a3    
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 : 39 - 35 = ?

 
 [2009-01-07 11:09 UTC] hm2k (James Wade)
Description: ------------ Open Environment/register_globals_off.php You'll see: ini_set('register_globals', 'off'); Please note that register_globals cannot be set at runtime (ini_set()). Although, you can use .htaccess if your host allows it as described above. An example .htaccess entry: php_flag register_globals off . From: http://uk.php.net/ini.core#ini.register-globals No need for the extra call if it does nothing.

Comments

 [2009-01-19 18:36 UTC] hm2k (James Wade)
Fixed in CVS.