Re: Outputting a PDF.

From: Date: Thu, 23 Aug 2007 12:54:56 +0000
Subject: Re: Outputting a PDF.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-261159@lists.php.net to get a copy of this message
Do you want the pdf to automatically render or to be an attachment? Which or both IEs, IE6 and/or IE7? Try Goggling "IE pdf". You'll see several discussions of your problem. Rob Adams wrote:
I have a pdfs saved in a database (created with pdflib). When I output them in firefox, it works just great everytime. But when I try in IE, it doesn't always work. I know, I know, it sounds like a browser issue, but here's the problem. I figured out that when I run session_start(), the pdf never shows up in IE. When I don't run it, it works just as well as in firefox. When I put my header calls to set the content type to application/pdf before the session_start() call, IE spits out an error: "Internet Explorer cannot display the webpage Most likely causes: You are not connected to the Internet. The website is encountering problems. There might be a typing error in the address. " Anyone know of a fix for this?


« previous php.general (#261159) next »