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  


 [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.