bh2006

Registered
May 24, 2006
2
0
151
Hello,

I have a problem. I know, this is occurring as a result of register_globals being off in php.ini. I must enable it, but I don't know how I can do it. I'm waiting your helps.. Thanks..
 

Saloni

Active Member
May 26, 2006
27
0
151
You can edit your php.ini generally located at path : /usr/local/lib/php.ini or /usr/lib/php.ini

register_globals = On

You can also have this done using .htaccess file :

you will need to create a .htaccess file in your site's main directory (or the main directory of your site that contains PHP scripts). Your .htaccess file should contain the following line:

php_flag register_globals off


Hope it Helps !!
 

webignition

Well-Known Member
Jan 22, 2005
1,876
2
166
bh2006 said:
Hello,

I have a problem. I know, this is occurring as a result of register_globals being off in php.ini. I must enable it, but I don't know how I can do it. I'm waiting your helps.. Thanks..
Turning register_globals on is a very bad idea for security.

If you think you need to enable register_globals for a certain script/web app (please don't say you need this for your own scripts), first try to find any possible workaround or method that makes the relevant script/web app work with register_globals off. Secondly, try to find any possible workaround or method that makes the relevant script/web app work with register_globals off.

What do you need register_globals on for?