How To Disable Register_global
RegisterLogin
How To Disable Register_global
Post Description: do you want to know how to disable register_global in your linux apache server? if so you can follow these commands which cover disabling the register_global settings in your php.ini file
Tags: how, to, disable, register_global
This Post Was Posted On Mar 30, 2010 By Webune Support #3315
Post Description: do you want to know how to disable register_global in your linux apache server? if so you can follow these commands which cover disabling the register_global settings in your php.ini file
Tags: how, to, disable, register_global
This Post Was Posted On Mar 30, 2010 By Webune Support #3315
How To Disable Register_global by Webune Support
first step is to find your php.ini file. if you have a fedora/redhat/centos server you find it at /etc/php.ini so you can send this command
# nano /etc/php.ini
look for this line:
register_globals = Off
change it to
register_globals = On
save the changes and now restart your apache server
# /etc/init.d/httpd restart
there is an alternative if you dont have access to the shell to edit the /etc/php.ini file
you can put this code in your php file to disable
to disable
ini_set('register_globals', false)
to enable
ini_set('register_globals', true)
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2011 Webune Forums - Mon Dec 19, 2011 3:43 am
Powered by: Webune Forums V3
Powered by: Webune Forums V3