Re: PDFlib on PHP4
| From: | Mike Flynn | Date: | Thu, 09 Aug 2001 13:37:54 +0000 |
| Subject: | Re: PDFlib on PHP4 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-8730@lists.php.net to get a copy of this message | ||
At 07:25 PM 8/8/2001 -0400, you wrote:
I'm getting this message ... with the following code. <snip> <?php $len = filesize($filename); header("Content-type: application/pdf"); ...Well, it's kind of important to know what comes before the <?php where you've <snip>ped it ... because if there's any kind of output whatsoever before you begin the headers, then it's too late to append headers, and that's why PHP will say that header information was already sent. HTH. -Mike