Register Globals On

If you run a script that requires php "register globals on" create a php.ini file and include the following:

register_globals = 1

Save the file and upload it to the directory of the script that requires register globals on. If the script requires it in multiple directories you can upload your php.ini to those directories as well.

If that does not function for the script create or modify your .htaccess file to include the following:

php_flag register_globals On

Save the file and upload it to the directory of the script that requires register globals on.

Note: This feature is no longer supported by PHP versions 5.3 and above.
  • 492 Users Found This Useful

Was this answer helpful?

Related Articles

Premature end of script headers

If you receive an Internal Server Error 500 and checking your log files displays "Premature end...

Error: SoftException in Application.cpp:303 UID of script is small than min_uid

Error: SoftException in Application.cpp:303 UID of script is small than min_uid when going...

How do I update my version of PHP?

PHP needs to be updated. What do I do?We make changing your version of PHP easy. Simply login to...

Test MySQL Connection

The following is a great way to verify a MySQL / MariaDB database connection issue. Create a file...

What port is MariaDB - MySQL on?

MariaDB / MySQL is on Port 3306.