[thelist] ssi or php

Elly lists at echozone.com
Wed Mar 8 00:43:23 CST 2006


On Mar 7, 2006, at 8:50 PM, Jono wrote:

>> 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.

I know how to do it. That was not my question. My question, and the  
Subject, is "ssi or php?"



More information about the thelist mailing list