Re: register globals
| From: | messju mohr | Date: | Thu, 09 Sep 2004 11:30:20 +0000 |
| Subject: | Re: register globals | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969363914@lists.php.net to get a copy of this message | ||
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
greetings
messju