cvs: phpdoc /en/language variables.xml

From: Date: Wed, 31 Oct 2001 19:24:18 +0000
Subject: cvs: phpdoc /en/language variables.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969338386@lists.php.net to get a copy of this message
philip Wed Oct 31 14:24:18 2001 EDT Modified files: /phpdoc/en/language variables.xml Log: Added note about magic_quotes_gpc and slashes under 'variables from outside php' A link to html faq was also added. Index: phpdoc/en/language/variables.xml diff -u phpdoc/en/language/variables.xml:1.20 phpdoc/en/language/variables.xml:1.21 --- phpdoc/en/language/variables.xml:1.20 Fri Sep 21 18:47:49 2001 +++ phpdoc/en/language/variables.xml Wed Oct 31 14:24:18 2001 @@ -1,5 +1,5 @@ <?xml encoding="iso-8859-1"?> -<!-- $Revision: 1.20 $ --> +<!-- $Revision: 1.21 $ --> <chapter id="language.variables"> <title>Variables</title> @@ -860,11 +860,22 @@ be available as <varname>$username</varname> in the global scope. </para> + <note> + <para> + The <link linkend="ini.magic-quotes-gpc">magic_quotes_gpc</link> + configuration directive affects Get, Post and Cookie values. If + turned on, value (It's "PHP!") will automagically become (It\'s \"PHP!\"). + Escaping is needed for DB insertion. Also see + <function>addslashes</function>, <function>stripslashes</function> and + <link linkend="ini.magic-quotes-sybase">magic_quotes_sybase</link>. + </para> + </note> + <simpara> - PHP also understands arrays in the context of form variables. You - may, for example, group related variables together, or use this - feature to retrieve values from a multiple select - input: + PHP also understands arrays in the context of form variables + (see the <link linkend="faq.html">related faq</link>). You may, + for example, group related variables together, or use this + feature to retrieve values from a multiple select input: </simpara> <para>

« previous php.doc (#969338386) next »