Re: HTTP_*_VARS access
| From: | Andrei Zmievski | Date: | Fri, 29 Jun 2001 13:31:48 +0000 |
| Subject: | Re: HTTP_*_VARS access | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1088@lists.php.net to get a copy of this message | ||
On Fri, 29 Jun 2001, Ivo Jansch wrote:
> Hi
>
> Monte Ohrt wrote:
>
> > {=foo=}
>
> Bleh.. my vote goes to the other option ($smarty.)
>
> Reason: Not only do I have to think 'where is my variable (g? p? c?
> assigned?)' (which is an unavoidable question anyway), but also I'd have
> to think 'ok, now that I know where it is, what was the syntax for
> accessing it?
>
> I like $smarty.* stuff.
>
> If you ask me, I'd even put the smarty config vars in $smarty.config.*
> instead of {%%} stuff..
> (it makes your parser a lot easier, too)
This may be done as an alternate way of accessing config vars.
-Andrei
"Everything is a matter of a little programming" -- Rasmus Lerdorf