On 1/23/08 5:34 PM, "Daniel Convissor" <[EMAIL PROTECTED]>
> Now there's no guessing, no need to write "|escape" in each variable use
> and no manually escaping the stuff in your PHP.

Just thought of a potential gotcha. Smarty also has a nl2br function. You
would want to escape before nl2br, otherwise your <br> tags would be
escaped. I wonder what the default order is for the default escape -- first
or last.


_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to