Re: Re[3]: [SMARTY] dyamic include file variable
| From: | Dennis Gearon | Date: | Thu, 09 Jan 2003 19:31:53 +0000 |
| Subject: | Re: Re[3]: [SMARTY] dyamic include file variable | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7092@lists.php.net to get a copy of this message | ||
Sounds very similar to Midgard and another CMS written in Python, (whose name escapes me now). I
think it's a good technique. However, as you pointed out, mod_rewrite is required, and most
hosting
sites don't allow that. You usually have to own your own box.
1/9/2003 10:57:24 AM, Bertrand DUNOGIER <bdunogier@wanadoo.fr> wrote:
>smc> I agree with the personal preference issue. I do not find the
>smc> look of a URL with parameters unpleasant, and I do find comfort
>smc> in knowing where all of the application flow is going.
>I'm gonna quickly describe a method i have used on 2 sites so far, and
>that seems to be good with Smarty.
<snip>
>First, it requires the usage of mod_rewrite, so it is not to be used
>in every situation.
>All the URL are classic links, e.g. site.com/dir/page.php
>I have a set of rewrite rules who rewrite any link as follows:
>http://www.site.com/dir/page.php?foo=bar
>=>
>http://www.site.com/handler.php?p=dir/page.php&foo=bar
>
<snip>