Results 1 to 6 of 6

Thread: how create pdf?

  1. #1
    Join Date
    Oct 2010
    Posts
    14
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default how create pdf?

    HI,
    I have form on which user enters some input. now what i need is i want the whole form to be sent to the server,(i.e the html form) so that i can create a pdf of that form with the user inputs.

    I am thinking of using dompdf....
    any sugestions on how to do that..
    thank you

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Try one of the following to help you get started.
    http://www.fpdf.org/
    http://php.net/manual/en/book.pdf.php
    Jeremy | jfein.net

  3. The Following User Says Thank You to Nile For This Useful Post:

    pritamdulam (12-09-2010)

  4. #3
    Join Date
    Oct 2010
    Posts
    14
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default hi!!!

    i know about fpdf but i want to use dompdf.... what i am thinking i'll display a form to the user ... user will enter some entries..... and this html is sent back to the server.. and server generates a pdf file and sends it to the user... any ideas??

  5. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Is there any reason in particular that you want to use dompdf? You're asking for our help with a very general situation but seem to have more specific goals-- there's nothing wrong with using dompdf, but if we know your goals that will help us give you advice.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. The Following User Says Thank You to djr33 For This Useful Post:

    pritamdulam (12-09-2010)

  7. #5
    Join Date
    Oct 2010
    Posts
    14
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    well,i am a newbe, i am thinking of sending the html form to the server along with the input values using javascript... and then i can create pdf on server and send it bac to the user... so now even if the client does not like the layout I can change the html.. and will be faster than again changing the php code used to generate pdf using fpdf....
    as far as i think this is a better way...
    and one more thing....
    I tried to generate pdf using dompdf.. its not working .. i have installed it properly.. there errors displayed... bit whenever i hit the link... the browser shows

    "This webpage is not available"

    is there something i am missing...

  8. #6
    Join Date
    Oct 2010
    Posts
    14
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    by the way i am using xampp on my localhost....

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
  •