note 9876 modified in function.include by irc-html

From: Date: Sat, 19 Jan 2002 19:31:27 +0000
Subject: note 9876 modified in function.include by irc-html
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-25247@lists.php.net to get a copy of this message
easy &basic way to template-ize a site: <html> <?php require("$TEMPLATE_DIR/pages.header.inc"); ?> <body> <?php require("content.inc");?> </body> </html> ...etc. == uniform site-wide look&feel , with modifying only one or two template sheets. kind of like CSS, but better. (for static content, or after you've got things settled enough, just try command-line processing the files, or running wget across the static-content sections. 'make' is an option, too. (or 'cook', 'cake', ...)) and take note of the suggestion someone made about the apache <Files ~ ".inc"> directive ! --was-- easy &basic way to template-ize a site: <html> &lt;?php require("$TEMPLATE_DIR/pages.header.inc"); ?> <body> &lt;?php require("content.inc");?> </body> </html> ...etc. == uniform site-wide look&feel , with modifying only one or two template sheets. kind of like CSS, but better. (for static content, or after you've got things settled enough, just try command-line processing the files, or running wget across the static-content sections. 'make' is an option, too. (or 'cook', 'cake', ...)) and take note of the suggestion someone made about the apache <Files ~ ".inc"> directive ! http://www.php.net/manual/en/function.include.php

« previous php.notes (#25247) next »