At 07:25 PM 8/8/2001 -0400, you wrote:
>I'm getting this message ...
>with the following code.
>
>
>$len = filesize($filename);
>header("Content-type: application/pdf");
...
Well, it's kind of important to know what comes before the ped it ... because if there's any kind of output whatsoever
befo
Your very first line on your script should be the
header: header("Content-Type: application/pdf");
You can also use ob_start(), but it seems to work only with Netscape for me(?)
Alain
On Wed, Aug 08, 2001 at 07:25:32PM -0400, Adam Oliver wrote:
> I'm getting this message
>
>
> Warning: Cannot ad
Maybe the best solution for you is to download the binaries from :
www.php4win.ge
Alain
On Thu, Mar 08, 2001 at 01:11:09PM +0100, Renato Barata Gomes wrote:
> I am trying to configure PDFLIb to work with PHP.
> I have PHP4.0.4 and PDFLib 4.0.
> The problem is that I downloaded Pdf lib and I don
On 21 Feb 2001 20:45:52 -0800, Randall Barber <[EMAIL PROTECTED]> wrote:
>Now, within PHP, I try to call pdf_set_font($pdf, "Times-Roman", 12, =
>"host", 1);
>Do to a lack of information in the PHP manuals (for instance, where =
>fonts need to reside; how you call them if they don't reside there