Re: [PHP4BETA] PDFlib and storing bin data in MySQL

From: Date: Mon, 31 Jan 2000 00:26:34 +0000
Subject: Re: [PHP4BETA] PDFlib and storing bin data in MySQL
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-9579@lists.php.net to get a copy of this message
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 >

« previous php.version4 (#9579) next »