Re: register globals
| From: | messju mohr | Date: | Thu, 09 Sep 2004 11:34:30 +0000 |
| Subject: | Re: register globals | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969363915@lists.php.net to get a copy of this message | ||
On Thu, Sep 09, 2004 at 01:30:20PM +0200, messju mohr wrote:
> On Thu, Sep 09, 2004 at 08:59:55PM +1000, Aidan Lister wrote:
> > http://nopaste.php.cd/28881
> >
> > How's that for enabling/disabling at runtime. Anything I didn't think of?
> >
> > I want to add this under security.registerglobals for enable/disable at
> > runtime
>
> the unset() in the second example wouldn't work. you are unsetting the
> loop variable, not the global variable it corresponds to.
>
> fix: http://nopaste.php.cd/28889
i forgot to mention: the idea is great! :)
> greetings
> messju