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



Relevant Pages

  • Re: if-modified-since question (protocol problem?)
    ... request, but in response you are interested only if your request ... To base the decision on whether there is something 'new to show' would require knowledge about something 'old' - a cached resource. ... No Last-Modified header is sent in the response, ...
    (comp.infosystems.www.authoring.html)
  • Re: using document.createElementNS or document.createElement
    ... 'looking at' the Accept header certainly isn't as simple as a substring match. ... It's in this latter area that content negotiation mechanisms seem to commit their worst offences. ... As there is no quality value associated with the media range at the end of the list, it means that everything is acceptable; only the explicitly listed types have a higher preference. ...
    (comp.lang.javascript)
  • Re: How to diagnose sendmail failure to some addresses?
    ... There will be a way for the sender to learn about the occurrence of and reason for a message failure if the mail handlers involved in the failure are configured in a traditional standards-compliant and robust manner and if the message is well-formed and sent using header and envelope addresses that provide a deliverable return path for error messages. ... header on the deliverdd mail. ...
    (comp.mail.sendmail)
  • Re: resuming swsusp twice
    ... it should only be an error message, ... the console was left on the swsusp VT ... [snip severe ext3 damage] ... it would verify that the header and the image matched, ...
    (Linux-Kernel)
  • Re: Can anybody help?
    ... I didn't expect a user-agent header from google. ... You need a server like individual.net (I ...
    (sci.electronics.design)