PHP form that produces PDFs?

5 replies
Hi there

I'm looking to make a web-based PHP form that will submit and go away and create a PDF form (ie. fill out fields for a quote for a customer and then it spits out a PDF to send to the customer).

Does anyone know how this might be achieved... or better still, some software I might be able to start with and adjust as necessary?

Thanks for all help in advance.
#form #pdfs #php #produces
  • Profile picture of the author Romell Weekly
    I'm going to assume that you are pretty proficient in PHP, and that you'll be able to tweak any script you receive to your specifications. If that's the case, you can try looking through the following Google search results. I don't have a specific program I can point you toward, but you should find plenty to choose from here.

    Search Terms: php generate pdf on fly

    Good luck.
    {{ DiscussionBoard.errors[1190781].message }}
  • Profile picture of the author AliceKillerDesign
    Thanks for the input
    {{ DiscussionBoard.errors[1190833].message }}
  • Profile picture of the author healthuk
    You can try finding a php class that will do the job for you. All you have to do would be to create an object and pass parameters. Here is an example:

    weberdev.com/get_example-4804.html
    {{ DiscussionBoard.errors[1191283].message }}
  • Profile picture of the author jonhel
    You might find the TCPDF class a useful solution for your needs. Just search for it in Google.
    {{ DiscussionBoard.errors[1191368].message }}
  • Profile picture of the author n7 Studios
    dompdf - The PHP 5 HTML to PDF Converter is good.

    If you're comfortable producing the HTML markup to produce your form, with data from your PHP form included, you can then push that through to DomPDF and it'll output a PDF server side, in browser or for download.
    {{ DiscussionBoard.errors[1192854].message }}

Trending Topics