Re: phpdoc /en/faq misc.xml

From: Date: Sat, 11 Sep 2004 11:07:12 +0000
Subject: Re: phpdoc /en/faq misc.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969363985@lists.php.net to get a copy of this message
A work of art, Gabor! "Gabor Hojtsy" <goba@php.net> wrote in message news:cvsgoba1094899770@cvsserver... > goba Sat Sep 11 06:49:30 2004 EDT > > Modified files: > /phpdoc/en/faq misc.xml > Log: > provide some explanation on when these might need to be used > > > http://cvs.php.net/diff.php/phpdoc/en/faq/misc.xml?r1=1.16&r2=1.17&ty=u > Index: phpdoc/en/faq/misc.xml > diff -u phpdoc/en/faq/misc.xml:1.16 phpdoc/en/faq/misc.xml:1.17 > --- phpdoc/en/faq/misc.xml:1.16 Sat Sep 11 06:28:27 2004 > +++ phpdoc/en/faq/misc.xml Sat Sep 11 06:49:25 2004 > @@ -1,5 +1,5 @@ > <?xml version="1.0" encoding="iso-8859-1"?> > -<!-- $Revision: 1.16 $ --> > +<!-- $Revision: 1.17 $ --> > <chapter id="faq.misc"> > <title>Miscellaneous Questions</title> > <titleabbrev>Miscellaneous Questions</titleabbrev> > @@ -98,10 +98,20 @@ > <qandaentry id="faq.misc.registerglobals"> > <question> > <para> > - How do I deal with register_globals > + How do I deal with <literal>register_globals</literal>? > </para> > </question> > <answer> > + <para> > + If you are on a shared host with > <literal>register_globals</literal> turned > + off and need to use some legacy applications, which require this > option > + to be turned on, or you are on some hosting server, where this > feature > + is turned on, but you would like to eliminate security risks, you > might > + need to emulate the opposite setting with PHP. It is always a good > idea to > + first ask if it would be possible to change the option somehow in > PHP's > + configuration, but if it is not possible, then you can use these > + compatibility snippets. > + </para> > <para> > <example> > <title>Emulating Register Globals</title>

« previous php.doc (#969363985) next »