homepage Welcome to WebmasterWorld Guest from 54.225.57.156
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Creating PDF's on the Fly
username




msg:4154033
 7:03 am on Jun 17, 2010 (gmt 0)

Hi, I am running a site on a server with Centos installed and am having trouble finding the right module to install to enable the use of the pdf_new() functionality so I can create PDF's of HTML pages on the fly.

Which module am I supposed to install to get this working? Is there a recommended module?

Thanks in advance.

 

Matthew1980




msg:4155033
 8:58 pm on Jun 18, 2010 (gmt 0)

Hi there Username,

What version of PHP does this server have on it? As a quick look on the manual states that it needs PHP v4 or greater... Just a thought there ;)

[uk2.php.net ]

Cheers,
MRb

username




msg:4155045
 9:31 pm on Jun 18, 2010 (gmt 0)

Hi, the server has php 5, so should be no problems running the add on module. Question is which module needs to be installed?

penders




msg:4155175
 7:49 am on Jun 19, 2010 (gmt 0)

Have you checked the PDF Requirements [uk2.php.net] and PDF Installation [uk2.php.net] pages in the PHP manual - they appear to offer information on how to proceed? Sorry, I can't be more help than that.

username




msg:4155194
 10:17 am on Jun 19, 2010 (gmt 0)

Thanks. It certainly seems that PDFLIb is the one. I will look into the commercial licensing costs though.

astupidname




msg:4155228
 12:08 pm on Jun 19, 2010 (gmt 0)

I will look into the commercial licensing costs though.


Before you do that, I'd recommend looking in to FPDF or TCPDF. Or there is also a Pear package "File_PDF" available which is based on FPDF.

coopster




msg:4156028
 2:11 pm on Jun 21, 2010 (gmt 0)

Another option is the open source project DOMPDF [code.google.com].

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved