RE: [PHP] RE: Reaching the PHP mailing list owners
- From: jbmoss@xxxxxxxxx ("John Moss")
- Date: Wed, 31 Oct 2007 13:14:29 -0700
Thanks Jay, I'll try it.
I know how to include, but haven't seen any php code yet except what you've
illustrated. Now I have the concept and will do some testing. I appreciate
this list being available to ask specific php questions - and I thank you
for your time and help.
Much appreciated -
~ John
PS. I unsubscribed and resubscribed so as to get individual responses. Am
now definitely getting more mail than I know what to do with - :-)
-----Original Message-----
From: Jay Blanchard [mailto:jblanchard@xxxxxxxxxx]
Sent: Wednesday, October 31, 2007 10:12 AM
To: John Moss; Daniel Brown; Robert Cummings
Cc: php-general@xxxxxxxxxxxxx
Subject: RE: [PHP] RE: Reaching the PHP mailing list owners
[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.
--------------------------------------------
My mailbox is spam-free with ChoiceMail, the leader in personal and corporate anti-spam solutions. Download your free copy of ChoiceMail from www.digiportal.com
.
- References:
- RE: [PHP] RE: Reaching the PHP mailing list owners
- From: "John Moss"
- RE: [PHP] RE: Reaching the PHP mailing list owners
- From: "Jay Blanchard"
- RE: [PHP] RE: Reaching the PHP mailing list owners
- Prev by Date: Re: [PHP] PHP standard vs. Zend Core
- Next by Date: Email question
- Previous by thread: RE: [PHP] RE: Reaching the PHP mailing list owners
- Next by thread: Re: [PHP] RE: Reaching the PHP mailing list owners
- Index(es):