Re: [SMARTY-DEV] mixing of asign() and assign_by_ref() overwrites external vars

From: Date: Tue, 08 Jun 2004 19:17:50 +0000
Subject: Re: [SMARTY-DEV] mixing of asign() and assign_by_ref() overwrites external vars
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2419@lists.php.net to get a copy of this message
--- Sebastian Mendel <lists@sebastianmendel.de> wrote: B> I'm suggesting that you don't really want to use assign_by_ref. S> also i think it makes no sense to use smarty manipulating vars in S> this way, i think it should be a one-way S> it also leads to a possible security-leak, so template designer can S> change vars outside of the template! (also in accident!) - yes, i S> know, this is very abstract. S> i think the main advantage (and the only thing wanted/used for?) of S> assign_by_ref is that it not need to be copied in to the S> smarty-object. Hi Sebastian. These are some of the reasons I suggested that YOU don't really want to use assign_by_ref. Best Regards, xo boots __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/

« previous php.smarty.dev (#2419) next »