creating pdf files in PHP

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
skylines
Forum Newbie
Posts: 8
Joined: Tue Jul 28, 2009 2:45 am

creating pdf files in PHP

Post by skylines »

Hi,

Do we need any software pre-installed for creating pdf files in php . Currently i have adobe acrobat reader installed in my system and i am using pdflib functions to create a pdf file in php. I am getting "pdflibexception with message "function must not be called in object scope at PDF_setfont()."

so i am thinking that the file creation is failing itself. can someone pls help me.

Thnaks
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: creating pdf files in PHP

Post by Christopher »

Here is a recent thread with a lot of information about PDF generation.

viewtopic.php?f=1&t=103373
(#10850)
Felix Demon
Forum Newbie
Posts: 2
Joined: Wed Jul 29, 2009 9:18 am

Re: creating pdf files in PHP

Post by Felix Demon »

According to PHP manual u need to have to put and enable PDF extention in order to make pdf with php.
skylines
Forum Newbie
Posts: 8
Joined: Tue Jul 28, 2009 2:45 am

Re: creating pdf files in PHP

Post by skylines »

yes. I already enabled the pdf extensions in php.
Post Reply