Re: [SMARTY] restrictions on template variable characters?
| From: | messju mohr | Date: | Thu, 11 Dec 2003 20:12:18 +0000 |
| Subject: | Re: [SMARTY] restrictions on template variable characters? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10668@lists.php.net to get a copy of this message | ||
On Thu, Dec 11, 2003 at 02:55:37PM -0500, Daniel Cummings wrote:
> Hi list,
>
> just joining... smarty is complaining about "unrecognized tag"
>
> it doesn't seem to like : (colon) or . (dot) in var names.
>
> not accepting dot i understand, rejection of the colon is also expected.
>
> my question is:
>
> where is the list of restricted characters?
0-9, a-z and "_" are allowed characters. other word-characters like
àáäã etc. *may* also work, but this may depend on your php's
locale-settings so i don't recommend any variable-names using them.
with with first 37 chars mentionend you are on the safe side.
greetings
messju
> thanks!
> dan
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php