Re: What are your DB driven/template strategies?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux