how to enable global variables register_globals in PHP APACHE server php.ini
RegisterLogin
Webune Forums » Linux Hosting » how to enable global variables register_globals in PHP APACHE server php.ini
how to enable global variables register_globals in PHP APACHE server php.ini
Post Description: how to enable global variables register_globals in PHP APACHE server php.ini
Tags: how, to, enable, global, variables, register_globals, in, PHP, APACHE, server, php.ini
This Post Was Posted On Feb 29, 2008 By web hosting #852
Post Description: how to enable global variables register_globals in PHP APACHE server php.ini
Tags: how, to, enable, global, variables, register_globals, in, PHP, APACHE, server, php.ini
This Post Was Posted On Feb 29, 2008 By web hosting #852
how to enable global variables register_globals in PHP APACHE server php.ini by web hosting
send command:
nano /etc/php.ini
now look for this line:
register_globals = Off
Change it to:
register_globals = On
restart apache server with this command:
/etc/init.d/httpd restart
that's it - NOTE: by enabling register_globals your server will be less secured, read this:
; Whether or not to register the EGPCS variables as global variables. You may
; want to turn this off if you don't want to clutter your scripts' global scope
; with user data. This makes most sense when coupled with track_vars - in which
; case you can access all of the GPC variables through the $HTTP_*_VARS[],
; variables.
;
; You should do your best to write your scripts so that they do not require
; register_globals to be on; Using form variables as globals can easily lead
; to possible security problems, if the code is not very well thought of.
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2011 Webune Forums - Sun Dec 18, 2011 11:53 pm
Powered by: Webune Forums V3
Powered by: Webune Forums V3