Is register_globals on or off in PHP?

We keep register_globals off for security reasons. Since PHP 4.2 register_globals has been off by default because it is far safer and, in the end, easier to pull environmental variables from PHP’s new super-arrays: $_GET, $_POST, $_SERVER etc.

To have register_globals enabled on your web site, please send a request to

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I create my own php.ini file?

PHP options can be enabled/disabled within the php.ini file on your web site. You or your web...

Using PHP includes

The following is the correct format for using PHP includes: include('/path/to/file/include.php');

How do I view the PHP setting information?

1) Create a file named "phpinfo.php" which contains the below text:<? phpinfo(); ?> 2)...