aidan Wed Nov 24 21:51:16 2004 EDT
Modified files: /phpdoc/en/faq misc.xml Log: Needs PHP tags for correct highlighting http://cvs.php.net/diff.php/phpdoc/en/faq/misc.xml?r1=1.21&r2=1.22&ty=u Index: phpdoc/en/faq/misc.xml diff -u phpdoc/en/faq/misc.xml:1.21 phpdoc/en/faq/misc.xml:1.22 --- phpdoc/en/faq/misc.xml:1.21 Wed Nov 24 20:53:12 2004 +++ phpdoc/en/faq/misc.xml Wed Nov 24 21:51:16 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.21 $ --> +<!-- $Revision: 1.22 $ --> <chapter id="faq.misc"> <title>Miscellaneous Questions</title> <titleabbrev>Miscellaneous Questions</titleabbrev> @@ -130,6 +130,7 @@ </para> <programlisting role="php"> <![CDATA[ +<?php // Emulate register_globals on if (!ini_get('register_globals')) { $superglobals = array($_SERVER, $_ENV, @@ -142,6 +143,7 @@ } ini_set('register_globals', true); } +?> ]]> </programlisting> <para> @@ -149,6 +151,7 @@ </para> <programlisting role="php"> <![CDATA[ +<?php // Emulate register_globals off if (ini_get('register_globals')) { $superglobals = array($_SERVER, $_ENV, @@ -163,6 +166,7 @@ } ini_set('register_globals', false); } +?> ]]> </programlisting> </example>