[PLUG] 'headers' & 'footers' on Web pages

Robby Russell robby at planetargon.com
Thu Apr 17 08:24:15 UTC 2003


<?echo Rich Shepard managed to take the time to type out the following:

>   I have the same image & title and contact information on each of my 11
> Web
> pages. I would like to put the code for one in a "header" file and the
> other
> in a "footer" file and do the equivalent of #include <...> on each page.
> That makes updating much easier.
>
>   After looking in my ORA book on html I come to you for knowledge. How
> can
> I include separate files as headers and footers?
>
> TIA,
>
> Rich
>
> Dr. Richard B. Shepard, President
>

Well, if you have php installed... you can do this

<?php include("http://www.domain.com/header.html"); ?>

Body body body

<?php include("http://www.domain.com/footer.html"); ?>








More information about the PLUG mailing list