summaryrefslogtreecommitdiff
path: root/php.ini-dist
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-09-05 19:06:29 +0000
committerZeev Suraski <zeev@php.net>2000-09-05 19:06:29 +0000
commiteb3214490287d4f8fd87a0e709f24e56eb97ae12 (patch)
treedb7976f0421b040f53f5ae3ea37b9179327cb563 /php.ini-dist
parent3c45b97804205dfe299814d6375d2022ca800d7a (diff)
downloadphp-git-eb3214490287d4f8fd87a0e709f24e56eb97ae12.tar.gz
- Remove track_vars - it is now always on
- Make the various $HTTP_*_VARS[] arrays be defined always, even if they're empty - Fix Win32 build and warnings
Diffstat (limited to 'php.ini-dist')
-rw-r--r--php.ini-dist7
1 files changed, 5 insertions, 2 deletions
diff --git a/php.ini-dist b/php.ini-dist
index 39228fc511..af572acc85 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -181,6 +181,7 @@ warn_plus_overloading = Off ; warn if the + operator is used with strings
;;;;;;;;;;;;;;;;;
; Data Handling ;
;;;;;;;;;;;;;;;;;
+; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
variables_order = "EGPCS" ; 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).
@@ -192,12 +193,14 @@ register_globals = On ; Whether or not to register the EGPCS variables as globa
; 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.
register_argc_argv = On ; This directive tells PHP whether to declare the argv&argc
; variables (that would contain the GET information). If you
; don't use these variables, you should turn it off for
; increased performance
-track_vars = On ; enable the $HTTP_*_VARS[] arrays, where * is one of
- ; ENV, POST, GET, COOKIE or SERVER.
gpc_order = "GPC" ; This directive is deprecated. Use variables_order instead.
; Magic quotes