; This directive describes the order in which PHP registers GET,POST,Cookie,; Environment and Built-in variables (G,P,C,E & S respectively,often ; referred to as EGPCS or GPC). Registration is done from left to right,newer ; values override older values. variables_order = "EGPCS"
variables_order
(引用):
Sets the order of the EGPCS
(Environment,Get,Post,and
Server) variable parsing. For example,
if variables_order is set to “SP” then
PHP will create the superglobals
$_SERVER
and$_POST
,but not create
$_ENV
,$_GET
,and$_COOKIE
. Setting to
“” means no superglobals will be set.
另请注意(再次引用):
The content and order of
$_REQUEST
is
also affected by this directive.
我想这个选项更重要的是,当register_globals仍然被使用时,同样的页面状态(引用):
If the deprecated
register_globals
directive is on (removed as of PHP
6.0.0),then variables_order also configures the order the ENV,GET,
POST,COOKIE and SERVER variables are
populated in global scope. So for
example if variables_order is set to
“EGPCS”,register_globals is enabled,
and both$_GET['action']
and
$_POST['action']
are set,then$action
will contain the value of
$_POST['action']
as P comes after G in
our example directive value.
我看不到我可以添加的东西做了这个帮助?或者是这样的事情会导致你出现问题?