register_globals: boolean
Whether or not to register the EGPCS (Environment, GET, POST, Cookie, Server) variables as global variables.
As of PHP 4.2.0, this directive defaults to off.
Please note that register_globals cannot be set at runtime (ini_set()). Although, you can use .htaccess if your host allows it as described above.
An example .htaccess entry: php_flag register_globals off.
Note: register_globals is affected by the variables_order directive.
This directive was removed in PHP 6.0.0.
这个是从php手册上翻出来的。
标签: