philip Sat Feb 22 08:56:27 2003 EDT Modified files: /phpdoc/en language-snippets.ent Log: New note entities for register_globals and superglobals Index: phpdoc/en/language-snippets.ent diff -u phpdoc/en/language-snippets.ent:1.42 phpdoc/en/language-snippets.ent:1.43 --- phpdoc/en/language-snippets.ent:1.42 Thu Feb 20 17:45:16 2003 +++ phpdoc/en/language-snippets.ent Sat Feb 22 08:56:27 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.42 $ --> +<!-- $Revision: 1.43 $ --> <!ENTITY warn.experimental '<warning><simpara>This extension is <emphasis>EXPERIMENTAL</emphasis>. The behaviour of this extension -- @@ -63,6 +63,19 @@ the <link linkend="ref.recode">recode</link> or <link linkend="ref.yaz">YAZ</link> extensions. This is due to the fact that they both share the same internal symbol.</simpara></warning>'> + +<!ENTITY note.registerglobals '<note><title>register_globals: important +note</title><para>Since PHP 4.2.0, the default value for the PHP directive +<link linkend="ini.register-globals">register_globals</link> is <emphasis> +off</emphasis>. The PHP community encourages all to not rely on this +directive but instead use other means, such as the &link.superglobals;. +</para></note>'> + +<!ENTITY note.superglobals '<note><title>Superglobals: availability note +</title><para>Since PHP 4.1.0, superglobal arrays such as <varname>$_GET +</varname>, <varname>$_POST</varname>, and <varname>$_SERVER</varname>, +etc. have been available. For more information, read the manual section +on &link.superglobals;</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