apache php register_globals

php register_globals is generally a security and should not be used unless the script is fully trusted and you are okay with your server being less secure.

Q) What if your hosting sites with different scripts, some require it, and some don’t?

A) Open your favorite plain text editor, such as TextEdit for Mac or Notepad for windows.  Enter the info below:

register_globals = Off

Save the file as php.ini.  Upload this file to your web sites root directory, such as:

M3Control Panel server path:


Cpanel server path:


Now, controlling register_globals is under your control.

NOTE:  register_globals is depreciated with php 5.3.x and plans should be made to discontinue its use.