Results 1 to 8 of 8

Thread: Creating a PDF with PHP

  1. #1
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,055

    Creating a PDF with PHP

    Anyone know if there is a way to create a PDF with PHP?

    I have an upcoming project that is an automated document creation service, I would like the end result to be generated in PDF form if possible. Rather than just expecting it to be plain txt or html someone has to deal with.

    Thoughts?
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  2. #2
    Chronic Entrepreneur
    Join Date
    Nov 2003
    Location
    Tulsa, Oklahoma, USA
    Posts
    1,112

  3. #3
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,055
    I should have searched before posting..

    Actually I found this really good free class.

    http://www.fpdf.org

    Works without adding anything to your PHP install. Lots of free examples.
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  4. #4
    Chronic Entrepreneur
    Join Date
    Nov 2003
    Location
    Tulsa, Oklahoma, USA
    Posts
    1,112
    Quote Originally Posted by Chris View Post

    http://www.fpdf.org

    Works without adding anything to your PHP install. Lots of free examples.
    Very cool! Thanks for sharing that.

  5. #5

  6. #6
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,055
    This new service I'm doing is going to be nifty, you'll all like it I'm sure. Can't tell you want it is yet, but it is a small thing to code, comparatively, so I should have it done by March.
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  7. #7
    4x4
    Join Date
    Oct 2004
    Posts
    1,043
    I was going to say I asked the same thing

    Pretty spiffy

  8. #8
    Junior Registered
    Join Date
    Feb 2009
    Posts
    1
    I use a library called phpLiveDocx. From their web site:

    "phpLiveDocx allows PHP developers to generate documents by combining structured data from PHP with a template, created in a word processor. The resulting document can be saved as a PDF, DOCX, DOC or RTF file. The concept is the same as with mail-merge."

    Learn more and download:
    http://www.phplivedocx.org/articles/...o-phplivedocx/

    Leo

Similar Threads

  1. Review: Professional PHP Programming
    By Chris in forum Books
    Replies: 6
    Last Post: 07-17-2013, 05:26 AM
  2. asp or php ?
    By fatnewt in forum Domain Names
    Replies: 0
    Last Post: 10-23-2007, 11:19 AM
  3. Super Cheap PHP 5, RoundCube Webmail Linux Shared Hosting
    By hostingatoz in forum The Marketplace
    Replies: 0
    Last Post: 08-04-2007, 01:00 AM
  4. Replies: 0
    Last Post: 05-24-2007, 04:48 AM
  5. Using PHP to produce PHP really screws with the head.
    By KLB in forum Website Programming & Databases
    Replies: 8
    Last Post: 02-14-2007, 11:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •