stuff i've added to my header class
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "
GMT");
header("Cache-Control: no-store, no-cache, must-
revalidate");
header("Cache-Control: post-check=0, p
I have been using a php file to stream pdf (and various other sorts of
files)... Here's my code.
if ($extension == ".doc"){$type = "application/msword";}
else if ($extension == ".pdf"){$type = "application/pdf";}
else if ($extension == ".exe"){$type =
"a
2 matches
Mail list logo