We're nearly ready write our message file. All we
need are headers and footers. Start simple with
the headers:
<?php
// It's important that there are no newline
// characters except at the end of the string.
// This keeps all the headers together.
$header = "<html><body bgcolor=\"#000000\" text=\"#ffffff\">\n";
?>
We want the message screen to auto refresh so people
viewing the site can see new posts. In preference
to using JavaScript, I use an META refresh,
principally because it's more likely to be supported
client-side. I also don't want the search engines
indexing my message file. So we refine $header
to :
Wrapping the copyright in <font color="#000000">
means that unless selected it'll be invisible against
the equally #000000 background. This just
stops it being intrusive.