View Full Version : how create pdf?
pritamdulam
12-08-2010, 09:19 AM
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
Try one of the following to help you get started.
http://www.fpdf.org/
http://php.net/manual/en/book.pdf.php
pritamdulam
12-08-2010, 01:43 PM
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??
djr33
12-08-2010, 05:43 PM
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.
pritamdulam
12-09-2010, 09:34 AM
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...
pritamdulam
12-09-2010, 09:57 AM
by the way i am using xampp on my localhost....
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.