Hi,
The following code prints a PDF file to the browser:
header("Content-type: application/pdf");
print(base64_decode($row["Image"]));
$row["Image"] is a BLOB field in a mySQL db.
This code works fine and displays the PDF in the browser until I load it through
When I do that it opens a file download box that attempts to download the .php page but fails when you click Save or Open.
Any ideas why it won't display normally through SSL?
The following code prints a PDF file to the browser:
header("Content-type: application/pdf");
print(base64_decode($row["Image"]));
$row["Image"] is a BLOB field in a mySQL db.
This code works fine and displays the PDF in the browser until I load it through
When I do that it opens a file download box that attempts to download the .php page but fails when you click Save or Open.
Any ideas why it won't display normally through SSL?