<?php
function no_cache() {
if(headers_sent()) return FALSE;
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT", TRUE);
header("Content-Type: text/html; charset=ISO-8859-1", TRUE);
header("Cache-Control: no-store, private, no-cache, must-revalidate", TRUE);
header("Cache-Control: proxy-revalidate, post-check=0, pre-check=0", FALSE);
header("Cache-Control: max-age=0, s-maxage=0", FALSE);
header("Pragma: no-cache", TRUE);
return TRUE;
}
?>