View Full Version : PHP register_globals?
capnqwest
08-17-2005, 01:21 AM
By default, our installations here are register globals= on but everywhere I turn there's a security advisory against that. Who here has disabled it? Did it break anything? Thoughts?
jpetrov
08-17-2005, 01:59 AM
me. for now no probs. i use mambo and wordpress for my sites.
ozgreg
08-17-2005, 02:05 AM
The issue with turning off register_globals is the huge volume of php scripts (applications) in the marketplace and unknown quantity that one line in a popular application might be poorly coded and be effected by this php settings..
It is safer (or is that easier) to have them turned on that trying to debug why your php application under certain conditions does something it should not...
PvUtrix
08-17-2005, 06:29 AM
I have it set to OFF...
It's on for a few domains though (.htaccess)
I have it set to OFF...
It's on for a few domains though (.htaccess)
What .htaccess are you using to have it on?
BornOnline
08-17-2005, 09:32 AM
What elix said..
I currently have it on...
capnqwest
08-17-2005, 11:59 AM
Thanks guys, I think I'll leave it on for now.
yeah, as elix, i would like to know what is the .htaccess you are using to have it on on certain domain ?
ozgreg
08-17-2005, 08:49 PM
yeah, as elix, i would like to know what is the .htaccess you are using to have it on on certain domain ?
add this line in your domain root .htaccess
php_flag register_globals 1
However this will only work if you are not using phpsuexec. If you are using phpsuexec you should be able to add this setting instead to php.ini located also in the domain root.
add this line in your domain root .htaccess
php_flag register_globals 1
However this will only work if you are not using phpsuexec. If you are using phpsuexec you should be able to add this setting instead to php.ini located also in the domain root.
Ahhah, thanks :-)
BornOnline
08-17-2005, 10:43 PM
I'm searching now, but does anyone know which Fantastico scripts need register globals on?
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.