04-26-2009, 09:43 PM
|
#11 (permalink)
|
|
The Gregarious
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
|
Quote:
Originally Posted by Sam Granger
Old school you might say - template files are easier to work with, but PHP in itself is a templating script. There's nothing wrong with your method, and it's the 'fastest'. But this just makes it a tad easier.
|
No, I'm tired of my method. I want something new to do..
Would you say this is how you are setup?
Path Info:
/www/ = main www directory that holds your calling pages
/www/images = images directory
/www/template = template files and php class files
--------------------
/www/template/header.html
/www/template/main_body.html
/www/template/footer.html
non-public folder
/whatever_directory/db.php = file to connect to DB
|
|
|
|