Re: [SMARTY] fetch template errors?!
| From: | Tom Sommer | Date: | Thu, 08 May 2003 13:20:16 +0000 |
| Subject: | Re: [SMARTY] fetch template errors?! | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9513@lists.php.net to get a copy of this message | ||
On Thu, 8 May 2003 15:35:49 +0200, Manfred Stienstra wrote:
> Using user input without checking it thoroughly is a security issue and you
> should never use a statement like this is a production enviroment. You could
> use an array with all the template names you want to allow and check if the
> current input is in this array.
I could not agree more, WAY to many... (sorry) newbies ....use this type of
bad bad coding
--
Tom Sommer, Denmark
www.tsn.dk - www.dreamcoder.dk