Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Generate PDF with PHP

Discussion in 'General Discussion' started by fuzzie, Jul 18, 2007.

  1. fuzzie

    fuzzie Well-Known Member

    Joined:
    Oct 12, 2002
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    166
    Does anyone use fpdf to generate pdfs with php?
    Can I install this through WHM?
    Thanks.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    At this time we do not include support for a one-click install of fpdf via EasyApache. However, PDFLib is listed but requires a license for commercial use - see: www.pdflib.com/pdffiles/PDFlib-Lite-license.pdf .
     
  3. vapetrov

    vapetrov Member

    Joined:
    May 24, 2002
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    301
    Best way - to use pear module File_PDF
    PDF generation using only PHP.
    http://pear.php.net/package/File_PDF

    You can easy use this module by include() in your script.
    You'll not need any additional modules or libraries.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    168
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    It's easy enough to install fpdf yourself, though you'll probably need shell (don't know, haven't checked).

    However I know for sure that you could just include it with your application, ie under your own public_html webspace.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. freedman

    freedman Well-Known Member

    Joined:
    Feb 13, 2005
    Messages:
    312
    Likes Received:
    1
    Trophy Points:
    168
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice