Re: [PHP] odd acrobat reaction to streaming files

2004-03-10 Thread daniel
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

[PHP] odd acrobat reaction to streaming files

2004-03-10 Thread Scott Taylor
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