Grow your CSS skills. Land your dream job.

Generate PDF file from PHP Form

  • # July 21, 2012 at 12:29 am

    I Need a suggestion to develop a pdf from the data entered in a php form, the pdf should be generated automatically after the user has submitted the form

    # July 21, 2012 at 7:56 pm

    I recommend you look into fpdf.

    # July 23, 2012 at 11:17 pm

    I work at Expected Behavior, and we’ve developed a product called DocRaptor that converts HTML to PDF using HTTP POST requests.

    You can make a request against our server using PHP, and DocRaptor will generate your document.

    Here’s a link to our coding examples for how to make this call using PHP:

    DocRaptor PHP example

    # August 4, 2012 at 9:57 am

    Fpdf is the best bet, but has some limits for design. Dompdf can convert html pages to pdfs, but is limited also

    # August 13, 2012 at 10:02 pm

    i have used fpdf and it works great according to requirement

    # August 14, 2012 at 10:40 am

    Nicely done! I also use fpdf and I have found it to be very well documented. I most recently used it to adapt Chris’ own Editable Invoice application to output a pdf of invoices I created (as well as using MySQL to keep a permanent log).

    I’m glad it worked out for you.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".