PDFlib and storing bin data in MySQL
| From: | Allen Lee | Date: | Sun, 30 Jan 2000 22:40:48 +0000 |
| Subject: | PDFlib and storing bin data in MySQL | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9577@lists.php.net to get a copy of this message | ||
http://www.phpbuilder.com/columns/florian19991014.php3?page=4
Hi,
I followed the above article on PHPBuilder exactly using a PDF file as
the binary data to be stored.
When I retrieve it out of MySQL to display in Netscape 4.7, I get a white
page with "An error has occured" in the status bar.
However, in Internet Explorer 5, the pdf bin data retrieves and displays
perfectly.
Netscape will only display the PDF if I read it in from a file, as per
the examples in the PHP manual. But reading in the file is where i got the
bin data to put in MySQL in the first place.
Has anyone had this happen to them or know why Netscape won't show the
file?
A