[thelist] ssi or php

Jono jono at charlestonwebsolutions.com
Tue Mar 7 22:50:29 CST 2006


> Which is more efficient, best practices way to include header +
> footer files that don't contain php -- using ssi or php?

I used includes to insert navigation and footers.

<!-- Start Header Nav -->
<?php include("../path/to/files/hdr-nav.inc") ?>
<!-- End Header Nav -->

You can include the entire header section if you'd like.  The "hdr-nav.inc"
is a simple unordered list that gets styled

I'm just getting into PHP, but that is how I've done it in the past.

-- 
Jono Young
Designer | Developer | Illustrator
Charleston Web Solutions
"Bringing Higher Standards to the Lowcountry"
http://www.charlestonwebsolutions.com/






More information about the thelist mailing list