6 $ifModifiedSince = isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) ? stripslashes($_SERVER['HTTP_IF_MODIFIED_SINCE']) : false;
7 if ($ifModifiedSince == $ts) {
8 header('HTTP/1.0 304 Not Modified');
9 die; // stop processing
12 header("Last-Modified: " . $ts);
14 if ( $ifModifiedSince ) {