Re: PDF Problems

From: Date: Wed, 21 Feb 2001 23:01:09 +0000
Subject: Re: PDF Problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-41077@lists.php.net to get a copy of this message
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: &lt;? header( "Content-type: application/pdf" ); &lt;? 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 <mstearne@entermix.com> > Date: Wed, 21 Feb 2001 17:31:45 -0500 > To: Sam Goin <samgoin@samgoin.com> > Cc: php-general@lists.php.net > 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#41077) next »