Here is my issue. I am trying to call a page: foo.php?docID=bar and return a PDF to the screen which is stored as a BLOB in the DB.
Here is the portion of my code w
I had this issue too, i used the following which seems to work fine
header("Content-type: application/pdf"); header("Content-Length: $length"); header("Content-Disposition: inline; filename='$filename'");