maxshuty Posted February 2, 2008 Share Posted February 2, 2008 Hello, I need to have the register_globals turned off to install a script, however my host will not turn them off! Is there anyway around this? Link to comment https://forums.phpfreaks.com/topic/89000-register_globals-off-question/ Share on other sites More sharing options...
trq Posted February 2, 2008 Share Posted February 2, 2008 Put this.... php_flag register_globals Off in your .htaccess file. Link to comment https://forums.phpfreaks.com/topic/89000-register_globals-off-question/#findComment-455805 Share on other sites More sharing options...
DieuxSoldat_04 Posted September 2, 2008 Share Posted September 2, 2008 I am trying to install a eCommerce cart and I have the same issue but I'm not sure in which directory should I add that PHP line to .htaccess. - Jason Link to comment https://forums.phpfreaks.com/topic/89000-register_globals-off-question/#findComment-632116 Share on other sites More sharing options...
PFMaBiSmAd Posted September 2, 2008 Share Posted September 2, 2008 A .htaccess file in the document root folder affects that folder and all other folders inside of the document root folder. A .htaccess file in a specific folder affects that folder and any folders inside that specific folder. Link to comment https://forums.phpfreaks.com/topic/89000-register_globals-off-question/#findComment-632141 Share on other sites More sharing options...
corbin Posted September 3, 2008 Share Posted September 3, 2008 Your host has register_globals enabled? Wow! That's terrible x.x. Link to comment https://forums.phpfreaks.com/topic/89000-register_globals-off-question/#findComment-632375 Share on other sites More sharing options...
DieuxSoldat_04 Posted September 11, 2008 Share Posted September 11, 2008 Ya, its 1&1 and they won't help me turn it off. Most they said was make a php.ini Can someone help me turn register globals off and gzip on or maybe tell me where to find a better host? - Jason Link to comment https://forums.phpfreaks.com/topic/89000-register_globals-off-question/#findComment-638873 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.