Re: [PHP4BETA] PDFlib and storing bin data in MySQL From: Allen Lee (neo <email protected>)
Date: 01/30/00

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 <email protected>
> For additional commands, e-mail: php4beta-help <email protected>
> To contact the list administrators, e-mail: php4beta-admin <email protected>
>

-- 
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe <email protected>
For additional commands, e-mail: php4beta-help <email protected>
To contact the list administrators, e-mail: php4beta-admin <email protected>