Re: mixing of asign() and assign_by_ref() overwrites external vars

boots <[email protected]>
Newsgroups gmane.comp.php.smarty.devel
Message-ID <[email protected]>
--- Sebastian Mendel <[email protected]> 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/ 

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.