RE: [PHP] RE: Reaching the PHP mailing list owners
- From: jblanchard@xxxxxxxxxx ("Jay Blanchard")
- Date: Wed, 31 Oct 2007 12:12:01 -0500
[snip]
Like - what is a
'header'? Everything prior to the <body> statement? I don't think that's
what is meant...
[/snip]
A header/footer is a separate HTML/PHP page that is included with the
page call;
<?php
include("header.html");
.....do stuff in the body....
include("footer.html");
?>
All you have to do is create the header and/or footer and include them
with each page. Since the content is typically static in these included
files they are cached and therefore loaded from cache each time they are
called making things very quick.
This is your very first step in creating reusable components for your
web applications. You can see that this will become a very powerful
tool/technique.
.
- Follow-Ups:
- RE: [PHP] RE: Reaching the PHP mailing list owners
- From: "John Moss"
- RE: [PHP] RE: Reaching the PHP mailing list owners
- References:
- RE: [PHP] RE: Reaching the PHP mailing list owners
- From: "John Moss"
- RE: [PHP] RE: Reaching the PHP mailing list owners
- Prev by Date: RE: [PHP] RE: Reaching the PHP mailing list owners
- Next by Date: Pass Windows credentials
- Previous by thread: Re: [PHP] APACHE MOD_REWRITE
- Next by thread: RE: [PHP] RE: Reaching the PHP mailing list owners
- Index(es):
Relevant Pages
|