Re: [SMARTY] Smarty 'unescape' variable modifier ?
| From: | Monte Ohrt | Date: | Wed, 24 Mar 2004 17:34:01 +0000 |
| Subject: | Re: [SMARTY] Smarty 'unescape' variable modifier ? | ||
| References: | 1 2 3 4 5 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11175@lists.php.net to get a copy of this message | ||
A paper? No, but it should be pretty self-evident. Not all PHP variables
are meant for SQL statements, so global escapement is unnecessary and
problematic, yours is case-and-point.
On Wed, 2004-03-24 at 10:36, Artur Pydo wrote:
> Hi,
>
> Monte Ohrt wrote:
>
> > Magic quotes are evil, get rid of 'em IMHO.
>
> Oh. Well, do you know a well-done paper explaining
> why one should not use magic quotes ?
>
> --
>
> Best regards,
>
> Artur Pydo.