Forum Moderators: coopster
<?php
header('Cache-Control: max-age=604800;');
header('Last-Modified: '.date('D, d M Y H:i:s e.', filemtime($_SERVER['SCRIPT_FILENAME'])).';');
?>
All HTTP date/time stamps MUST be represented in Greenwich Mean Time (GMT),source [w3.org]
without exception. For the purposes of HTTP, GMT is exactly equal to UTC
(Coordinated Universal Time). This is indicated in the first two formats by
the inclusion of "GMT" as the three-letter abbreviation for time zone, and
MUST be assumed when reading the asctime format. HTTP-date is case sensitive
and MUST NOT include additional LWS beyond that specifically included as SP in
the grammar.
Content-Type: text/html; charset=iso-8859-1\n
Content-Disposition: attachment; filename=$fn; size=$size\n
Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT\n
Content-Length: 3495\n
\n