How to enable both 'register globals' and ' magic_quotes_gpc' using your .htaccess or php.ini
A lot of hosts these days have php’s Register_Globals set to off by default. This is a server wide setting. You can change this for your individual sites by adding a line to the .htaccess file or php.ini file in your root home folder:
In htaccess
php_value register_globals on
php_value magic_quotes_gpc off
In php.ini
register_globals = On
magic_quotes_gpc = Off

0 comments:
Post a Comment