Re: HTTP_*_VARS access
| From: | Andrei Zmievski | Date: | Thu, 28 Jun 2001 16:19:14 +0000 |
| Subject: | Re: HTTP_*_VARS access | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1057@lists.php.net to get a copy of this message | ||
On Thu, 28 Jun 2001, Monte Ohrt wrote:
> more ideas:
>
> {=foo=}
>
> prints foo, searches though env/cookie/get/post
>
> {=get.foo=}
>
> only prints foo if coming from get vars
>
> {=post.foo=}
> {=env.foo=}
> {=cookie.foo=}
>
> same deal. another idea, maybe {=foo.get=} would be more appropriate
> than {=get.foo=}, decide what comes first?
Is this really much different from $smarty.get.foo?
-Andrei
"I think it would be a good idea." -- Mahatma Gandhi,
when asked what he thought of Western civilization...