From b4e4afde060c8e08afe97b73ebaf347a5b91b2ec Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Thu, 14 Nov 2002 12:50:59 +0000 Subject: [PATCH] magic_quotes_gpc: A note about the awesome power of magic_quotes_sybase. This partly closes bug #20384. See also: get_magic_quotes_gpc() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@103848 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/info/ini.xml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/reference/info/ini.xml b/reference/info/ini.xml index 7067494a57..0031699b98 100644 --- a/reference/info/ini.xml +++ b/reference/info/ini.xml @@ -1,5 +1,5 @@ - +
&reftitle.runtime; &extension.runtime; @@ -189,9 +189,20 @@ Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When magic_quotes are on, all ' (single-quote), " (double quote), \ (backslash) and NUL's are escaped - with a backslash automatically. If magic_quotes_sybase is - also on, a single-quote is escaped with a single-quote - instead of a backslash. + with a backslash automatically. + + + + If the + magic_quotes_sybase directive is also ON it will + completely override magic_quotes_gpc. Having both directives + enabled means only single quotes are escaped as + ''. Double quotes, backslashes and + NUL's will remain untouched and unescaped. + + + + See also get_magic_quotes_gpc