philip Thu Nov 14 07:50:59 2002 EDT
Modified files:
/phpdoc/en/reference/info ini.xml
Log:
magic_quotes_gpc: A note about the awesome power of magic_quotes_sybase.
This partly closes bug #20384.
See also: get_magic_quotes_gpc()
Index: phpdoc/en/reference/info/ini.xml
diff -u phpdoc/en/reference/info/ini.xml:1.1 phpdoc/en/reference/info/ini.xml:1.2
--- phpdoc/en/reference/info/ini.xml:1.1 Sun Sep 29 20:09:45 2002
+++ phpdoc/en/reference/info/ini.xml Thu Nov 14 07:50:59 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<section id="info.configuration">
&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.
+ </para>
+ <note>
+ <para>
+ If the <link linkend="ini.magic-quotes-sybase">
+ magic_quotes_sybase</link> directive is also ON it will
+ completely override magic_quotes_gpc. Having both directives
+ enabled means only single quotes are escaped as
+ <emphasis>''</emphasis>. Double quotes, backslashes and
+ NUL's will remain untouched and unescaped.
+ </para>
+ </note>
+ <para>
+ See also <function>get_magic_quotes_gpc</function>
</para>
</listitem>
</varlistentry>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php