mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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
This commit is contained in:
parent
07b530aa58
commit
b4e4afde06
1 changed files with 15 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue