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.

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to