☰ Navigation

Pixel Internet Blog

Offers - Resources - News

Setting “register_globals” to ON in PHP

You can create your own php.ini file inside whatever sub-directory your script is in. You can then determine the exact behaviour for your PHP scripts yourself.

There’s a lot of documentation on how to use the various configuration features inside php.ini online at .

In this case, to set “register globals” on, you can just create a file called “php.ini” in the subdirectory of your website that the script is in, simply saying:

register_globals = on


Comments

Comments are closed.

Want to find out more? Let’s chat