Re: HTTP_*_VARS access
| From: | Cynic | Date: | Thu, 28 Jun 2001 16:35:13 +0000 |
| Subject: | Re: HTTP_*_VARS access | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1061@lists.php.net to get a copy of this message | ||
Something like that is awfully Perl-sh. PeopleHatePerl. (I do.)
At 18:12 6/28/2001, Andrei Zmievski wrote the following:
--------------------------------------------------------------
>On Thu, 28 Jun 2001, Monte Ohrt wrote:
>> That could be. Let's find out why. What is the pros/cons of each?
>>
>> $smarty.get.foo
>>
>> pros: doesn't create new syntax
>> cons: kind of wordy in the template?
>>
>> {=foo=}
>>
>> pros: short easy to read & understand
>> cons: yet another variable syntax
>
>I don't think you can automatically say it's "easy to read & understand"
>because the user will have to be thinking, "Now, what do the two equal
>signs on both sides mean? Is it different from config var?"
>
>-Andrei
>
>The Heineken Uncertainty Principle:
> You can never be sure how many beers you had last night.
>
>---
>You are currently subscribed to smarty as: cynic@mail.cz
>To unsubscribe send a blank email to $subst('Email.Unsub')
>Visit Smarty's homepage at
>http://www.phpinsider.com/php/code/Smarty/
------end of quote------
cynic@mail.cz
-------------
And the eyes of them both were opened and they saw that their files
were world readable and writable, so they chmoded 600 their files.
- Book of Installation chapt 3 sec 7