[pmwiki-users] Turning off register_globals using ini_set()

Athan foxx at freemail.gr
Wed Jan 3 07:17:41 CST 2007


My new webhost provider has php5 register_globals = ON and I want to turn it 
off for pmwiki only. Unfortunately PHP5 is running as CGI threfore I cannot 
use .htaccess for this purpose.
I've tried adding ini_set('register_globals', 0); in pmwiki's local.php. 
Unfortunately action=phpinfo still displays local register_globals as ON, 
although other php5 settings altered using ini_set() in local.php work just 
fine.

Did I miss something ?

Thanks.
Athan 






More information about the pmwiki-users mailing list