philip          Sun Mar 16 18:44:23 2003 EDT

  Modified files:              
    /phpdoc/en  language-snippets.ent 
  Log:
  New entity: &note.magicquotes.gpc;
  
  
Index: phpdoc/en/language-snippets.ent
diff -u phpdoc/en/language-snippets.ent:1.43 phpdoc/en/language-snippets.ent:1.44
--- phpdoc/en/language-snippets.ent:1.43        Sat Feb 22 08:56:27 2003
+++ phpdoc/en/language-snippets.ent     Sun Mar 16 18:44:23 2003
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.43 $ -->
+<!-- $Revision: 1.44 $ -->
 
 <!ENTITY warn.experimental '<warning><simpara>This extension is
 <emphasis>EXPERIMENTAL</emphasis>. The behaviour of this extension --
@@ -76,6 +76,12 @@
 </varname>, <varname>$_POST</varname>, and <varname>$_SERVER</varname>, 
 etc. have  been available.  For more information, read the manual section 
 on &link.superglobals;</para></note>'>
+
+<!ENTITY note.magicquotes.gpc '<note><title>directive note: magic_quotes_gpc
+</title><para>The PHP directive <link linkend="ini.magic-quotes-gpc">
+magic_quotes_gpc</link> defaults to <literal>on</literal>.  It essentially 
+runs <function>addslashes</function> on all your GET,  POST, and COOKIE data.
+You may use <function>stripslashes</function> to strip them.</para></note>'>
 
 <!-- Various notes -->
 <!ENTITY note.not-bin-safe '<warning><simpara>This function



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to