Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Messy form solution
April 27, 2006, 12:03 pm
rate this thread
love to have this input put onto a PDF-document which will be generated on
the fly during post. The PDF will be saved on my server AND mailed to
I thought that maybe it is possible to get the posted form input on a
csv-file on my web-server (I don't have MySQL). And then, during the process
get this csv data reorganised and to appear organised on a already nearly
finished PDF with prefixed header and footer. The document is mailed to me
and visible in the user window.
I have not invented the power and have to ask: is this possible, anyone who
knows if such a funcationality already exist?
Re: Messy form solution
Just remember to lock access to the file, you don't want two simultaneous
requests clobbering the file.
Look in to FPDI: http://fpdi.setasign.de/
That imports an existing PDF in to an FPDF object ready to add new
It's possible using many ways of creating PDFs from PHP. Personally I've
been a fan of PDF4PHP, but you can't import your "nearly finished PDF" in
to that, so if I were you I'd look into FPDI.
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos