After spending a lot of time on this I think I almost have it figured out. I
don't think it is a problem with the install.
A found on php.net where when using pdflib 3.03, pdf_new() doesn't work. The
fix is at the bottom of http://www.php.net/manual/en/ref.pdf.php It says to
change pdf_new() to the following:
<?
header( "Content-type: application/pdf" );
<? Doesn't work for me, so I put <? in. This hasn't totally fixed my
problem as of yet though. I get it to create the pdf, but when I go to open
it, I get "File does not begin with PDF"
If anyone knows how to fix this please let me know.
Mike
> From: Michael Stearne <[EMAIL PROTECTED]>
> Date: Wed, 21 Feb 2001 17:31:45 -0500
> To: Sam Goin <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] PDF Problems
>
> What OS and glibc version? There are problems with the set-up in RH7.
>
> Michael
>
>
> Sam Goin wrote:
>
>> Hi,
>>
>> I am running PHP4.04pl1, pdflib3.03, jpeg6b, tiff3.5.5, apache1.3.17.
>>
>> Some of the pdf functions work, but others don't, such as pdf_new().
>>
>> Does anybody know what the problem is? I have been all over the
>> documentation, email archives, and support discussions at phpbuilder.com
>>
>> thanks,
>>
>> Sam
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]