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..
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:
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.