Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

Turning off register globals through .htaccess file

Turning off  register globals through .htaccess file

You have in my .htaccess file the line:

If you want the register globals off for your OS Commerce or zen cart installation then place the .htaccess file under the folders like  /zencart directory ie /shop /catalog etc.


# to turn off register_globals
php_value register_globals 0

NOTE: If you are running from the root directory, you should check both in FTP and via your Control Panel that you do not already have an .htaccess file so that you do not overwrite an existing one.

Share on Twitter
Share on Facebook