How To Disable/Enable Register Globals

Wednesday, 29 April 2009 00:37
Print PDF

To disable register_globals, create a file using any simple text editor (notepad is fine) and name it php.ini. Write the following code in the file:

register_globals = OFF

Then, upload the file to any folder you want to disable register globals in, or upload it to your public_html folder to disable register globals in your domain level.

The same method applies to enable register_globals, except the code in the php.ini file will look like this:
register_globals = ON
Enabling register_globals is a MAJOR security hole in your website!
Last Updated on Thursday, 04 November 2010 08:04
You are here:   Home Section Blog Trouble shooting How To Disable/Enable Register Globals Find us on Google+

Control Panels

News and Events

Our Clients