Prev | Current Page 111 | Next

W. Jason Gilmore

"Beginning PHP and MySQL: From Novice to Professional"

However, if you need to override this convention, you can
do so by using the arg_separator.output directive.
arg_separator.input = string
Scope: PHP_INI_ALL; Default value: ;&
The ampersand (&) is the standard character used to separate input variables
passed in via the POST or GET methods. Although unlikely, should you need to
override this convention within your PHP applications, you can do so by using the
arg_separator.input directive.
variables_order = string
Scope: PHP_INI_ALL; Default value: EGPCS
The variables_order directive determines the order in which the ENVIRONMENT, GET,
POST, COOKIE, and SERVER variables are parsed. While seemingly irrelevant, if
register_globals is enabled (not recommended), the ordering of these values could
result in unexpected results due to later variables overwriting those parsed earlier in
the process.
CHAPTER 2 ?–  CONFIGURING YOUR EN V IRONMENT 41
register_globals = On | Off
Scope: PHP_INI_SYSTEM; Default value: Off
If you have used a pre-4.0 version of PHP, the mere mention of this directive is
enough to evoke gnashing of the teeth and pulling of the hair. To eliminate the problems,
this directive was disabled by default in version 4.2.0 , but at the cost of forcing
many long-time PHP users to entirely rethink (and in some cases rewrite) their Web
application development methodology. This change, although done at a cost of
considerable confusion, ultimately serves the best interests of developers in terms of
greater application security.


Pages:
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123