diff options
author | Pierre Joye <pajoye@php.net> | 2006-03-08 00:43:32 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2006-03-08 00:43:32 +0000 |
commit | bb1ec86f9da24fe6b49bae68353d53ba96b7228f (patch) | |
tree | 8a395f4ff82f2bfc5dfbb143231340c80ec3d9e4 /php.ini-recommended | |
parent | b7d6d705f1e471544418cf8febb62943ece9e8ce (diff) | |
download | php-git-bb1ec86f9da24fe6b49bae68353d53ba96b7228f.tar.gz |
- remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
Diffstat (limited to 'php.ini-recommended')
-rw-r--r-- | php.ini-recommended | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/php.ini-recommended b/php.ini-recommended index 2b51ace1a1..e0f993a266 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -92,10 +92,6 @@ ; - register_argc_argv = Off [Performance] ; Disables registration of the somewhat redundant $argv and $argc global ; variables. -; - magic_quotes_gpc = Off [Performance] -; Input data is no longer escaped with slashes so that it can be sent into -; SQL databases without further manipulation. Instead, you should use the -; function addslashes() on each input element you wish to send to a database. ; - variables_order = "GPCS" [Performance] ; The environment variables are not hashed into the $_ENV. To access ; environment variables, you can use getenv() instead. @@ -454,18 +450,6 @@ auto_globals_jit = On ; Maximum size of POST data that PHP will accept. post_max_size = 8M -; Magic quotes -; - -; Magic quotes for incoming GET/POST/Cookie data. -magic_quotes_gpc = Off - -; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. -magic_quotes_runtime = Off - -; Use Sybase-style magic quotes (escape ' with '' instead of \'). -magic_quotes_sybase = Off - ; Automatically add files before or after any PHP document. auto_prepend_file = auto_append_file = |