Re: What are your DB driven/template strategies?

From: Date: Tue, 02 Sep 2003 10:43:16 +0000
Subject: Re: What are your DB driven/template strategies?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-30269@lists.php.net to get a copy of this message
Colin Kettenacker wrote:
I, like many here, have created a database driven/template systems using PHP and the database engine of your choice. However, I am still stuck with having to create directories on the server for every page on the website with the same initialization PHP file that kicks off the whole process.
...
The only alternative I came up with is to use .htaccess to redirect to my single initialization PHP file, but I am not sure if this is a good technique and of course it will only work on Apache. What are your thoughts? It seems that every solution will be server-specific. For Apache you may try mod_rewrite. It is more robust than using custom error pages that were adviced by Daniel Griffiths.


« previous php.db (#30269) next »