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



Similar posts you may find useful..:

How to create a custom php.ini file

Fatal error: Allowed memory size of 8388608 bytes exhausted

Installing Magento, Magento Installation

Setting up email accounts in Outlook Express

My PHP script gives the error ‘Call to undefined function: mysql_connect()’

Line Break

Author: Doug (93 Articles)

Account Manager at Pixel Internet, Doug has been with us from day one. With over 10 years experience working in the web design and search engine optimisation industry, Doug's input and contribution to the growth of the company has been invaluable.

Leave a Reply

Search Blog

The Cloud

Pixel Internet specialise in web hosting for the following Open Source software packages, many of which include 'one-click-installation' via your control panel!

Click on a link below for more information regarding these packages and what we can offer.

Close this panel