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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,277
    Likes Received:
    9
    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.
     
  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.
     
  5. freedman

    freedman Well-Known Member

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

Share This Page