Web Design, Development & Marketing

Web Development Articles

Controlling PHP Register Globals Using .htaccess File

Just a quick tip regarding PHP. If you need to override the Register Globals settings in PHP and you don't have access to php.ini then you can typically add a single line to your .htaccess file (or create a .htaccess file and place it in your root web directory)

If you need to turn register_globals on use:

php_flag register_globals 1

If you need to turn register_globals off use:

php_flag register_globals 0

Subscribe to RSS Feed Bookmark and Share

Related Links

Related Articles / Posts

Barclaycard ePDQ CPI Integrations (27/05/2009)

HSBC XML API / CPI E-commerce Integrations (02/04/2009)

Recommended Open Source Invoicing System (25/03/2009)

Recent Recommended Links - October 2008 (03/10/2008)

Controlling PHP Register Globals Using .htaccess File (04/03/2008)