Talk:PHP Programming/template

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

I like to name my include files .inc.php -- That prevents someone from viewing the source .inc file but still visually distinguishes includes from main files. That can be important if you have database id's, passwords, or other sensitive config information in your include files.

--68.205.153.12 07:55, 11 Mar 2005 (UTC)
In trying this example I find enclosing the filenames with quotes inside the parentheses yields an error-free result no matter what the extension is. I'm not sure if my version is separate from the author's or if this was a minor oversight.

[edit] Is there anything like managed templating?

Is there anything like managed templating?

There is something like template engines such as Smarty, but not mgd. templating.

User:Wykis - check out later

[edit] Roll Your Own

I just added the 'Roll Your Own' template management section. Hopefully it is appropriate here, useful, and proper. Gavin86 08:52, 9 March 2006 (UTC)