[Techtalk] Web site setup

James Allen jamesfallen at gmail.com
Thu Apr 21 00:24:13 EST 2005


I use

<?php
$title="PAGE TITLE";
include("header.inc");
?>

content

<?php
$updated = "DATE";
include("footer.inc");
?>

$title and $updated being variables in my included files. Just
changing the all caps with the value I want for the variable. All of
my layout goes into the header.inc and footer.inc, the header
containing the traditional link to my css file. The included files can
contain all php, all html, or a combination of the two. To change the
design of my entire site all I have to do is change up to three files.

James Allen


More information about the Techtalk mailing list