Can you set "register_globals" to ON in PHP for me?

Such a global change to the php.ini config is a well known security risk and affects all other customers and isn't something we'd consider doing. However you can set that and any other variable using the method below.

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 http://uk2.php.net/configuration.

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

  • 155 Users Found This Useful
Was this answer helpful?

Related Articles

How do I set permissions on files and scripts?

Doing a CHMOD (changing a file's permissions) is the setting of access privileges for a file....

What is the path to perl?

/usr/bin/perlYou can also find information on paths to other useful programs by logging in to...

I have created an include file that contains a username and password for a database. How do I prevent people from accessing that file directly?

Protecting PHP IncludesIn order to create a PHP file that is inaccessible from the WWW, please...

Does Fast-name support Image::Magick?

Yes we do, and in case you need to know the exact version number, at the time of writing, the...

What is the path to sendmail?

Should you need the absolute path to sendmail for use in a CGI script, it's in...