php_flag register_globals off
Code: Select all
##
# @version $Id: htaccess.txt,v 1.5 2005/01/22 23:00:27 spacemonkey Exp $
# @package Mambo
# @copyright (C) 2000 - 2005 Miro International Pty Ltd
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Mambo is Free Software
##
#
# mod_rewrite in use
#
RewriteEngine On
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update YourMamboDirectory (just / for root)
# RewriteBase /YourMamboDirectory
#
# Rules
#
php_flag register_globals off
The file should contain this line:
register_globals = off
Register Globals Emulation
In addition to turning off register globals, you should turn off register globals emulation.
Edit your globals.php file:
At about line 23 change
define('RG_EMULATION',1)
to
define('RG_EMULATION',0)
[edited by mod 11/5/06]
Discussion topic here.
keywords: register globals register_globals rg_emulation RG_EMULATION Register Globals global Global security.