SV: [PHP4BETA] PDFlib and storing bin data in MySQL
| From: | Johan Ekenberg | Date: | Mon, 31 Jan 2000 08:43:52 +0000 |
| Subject: | SV: [PHP4BETA] PDFlib and storing bin data in MySQL | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9583@lists.php.net to get a copy of this message | ||
I may be totally wrong, but this issue reminds me of an entry
in the PHP3 FAQ at:
http://www.php.net/FAQ.php3#5
No 5.8 talks about Netscapes behaviour with the NUL byte.
Do you think this might have anything to do with it?
/Johan Ekenberg
> I found out that Netscape can be fixed by sending a header for the
> filesize, for example: header("Content-length: 11719");
>
> However, If you do that, then Internet Exploder just shows a blank white
> page.
>
> A
>
> On Sun, 30 Jan 2000, Allen Lee wrote:
>
> >
> >
> > 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
> >
> >
> >
> > --
> > PHP 4.0 Beta Mailing List
> > <http://www.php.net/version4/>
> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> > For additional commands, e-mail: php4beta-help@lists.php.net
> > To contact the list administrators, e-mail: php4beta-admin@lists.php.net
> >
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>