Turning register globals on in .htaccess file


This is good when you have got a host that dose have register globals enabled and you got some script that needs it.

create and .htaccess file and add any ware

To turn register globals on
php_value register_globals 1

our

If you want to turn it off you can use
php_value register_globals 0

upload the files in your root directory. If you already have the .htaccess file in your root directory you can just add the code in.
James's Avatar
Author:
Views:
1,544
Rating:
Posted on Tuesday 29th May 2007 at 04:18 AM
James
James's Avatar
hey shadow alot of scripts need them on it is a security risk to have them on tho!
Posted on Thursday 3rd May 2007 at 06:33 PM
ShadowMage
ShadowMage's Avatar
though wouldn't that cause problems with some scripts?

Good tutorial anyway