|
Posted by JDS on 11/23/76 11:42
On Tue, 14 Mar 2006 20:50:13 +0000, matty wrote:
> I amy be out on a limb
> here but is this something I can do with PHP?
In a word, "YES"
PHP is a far more flexible and powerful solution than SSI, which is why
SSI is not used so much anymore. But to more completely answer, in PHP,
the one-liner is:
<?php include("footer.html"); ?>
And to more completely complete answer, there are many ways to skin this
cat. From simple header/footer includes to complicated content management
systems (CMS), from build-your-own to install an existing system. If you
need to do anything more complex than headre/footer, I recommend you just
use someone else's already-available templating solution or CMS rather
than buid your own. see http://www.opensourcecms.com, for example.
later...
--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
Navigation:
[Reply to this message]
|