Joomla! Discussion Forums



It is currently Sun Nov 08, 2009 11:13 am (All times are UTC )

 




Post new topic Reply to topic  [ 1 post ] 
Author Message
Posted: Tue Aug 23, 2005 12:13 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 2:06 pm
Posts: 556
Location: Deutschland - México
Just open your .htaccess file and add this line in the end of it:

php_flag register_globals off

Code:
##
# @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


In addition you may need to create (or edit) a php.ini file in your joomla! root directory.
The file should contain this line:
Quote:
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.

_________________
Do, or do not. There is no try...

Wender & Wender - http://www.wender.com.mx
Tutoriales Joomla! - http://www.joomlamania.org


Last edited by mcsmom on Sat Nov 11, 2006 1:54 pm, edited 1 time in total.

Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group