473,387 Members | 1,624 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Messy form solution

My web-form process input and sends it to me as mail. Fine. But I also would
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
myself.
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?
Apr 27 '06 #1
2 1174
If you haven't already, have a look at www.fpdf.org. I don't see why a
script couldn't accomplish both tasks at the same time.

Apr 27 '06 #2
On Thu, 27 Apr 2006 14:03:11 +0200, John wrote:
My web-form process input and sends it to me as mail. Fine. But I also
would 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 myself.
Fine.
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).
Just remember to lock access to the file, you don't want two simultaneous
requests clobbering the file.
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.
Look in to FPDI: http://fpdi.setasign.de/

That imports an existing PDF in to an FPDF object ready to add new
elements.
I have not invented the power and have to ask: is this possible, anyone
who knows if such a funcationality already exist?


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.

Cheers,
Andy
--
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

Apr 27 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

72
by: Herbert | last post by:
I'm still relativey new to stylesheets, so I'm hoping that the way I'm going about things can be seriously improved upon, i.e . I just haven't undersood something obvious about the 'cascading'...
25
by: Lyn | last post by:
Hi, I am working on a genealogy form. The only table (so far) lists everybody in the family, one record per person. Each record has an autonum ID. The parent form (frmMainForm) displays the...
8
by: Zlatko Matić | last post by:
There is a form (single form) and a combobox. I want that current record of the form is adjusted according to selected value in the combobox. Cuurrent record should be the same as the value in the...
6
by: Peter O'Reilly | last post by:
I've read here and have experienced much lament about the Visual Studio Editor rearranging text when switching to and from the design and HTML view. I've stumbled upon a solution to remedy such...
3
by: Mike | last post by:
Hello: I was not able to find a regular ASP group, so I posted this here instead. I have a web app which is actually just ASP using VBScript as the server-side language, running on IIS6. ...
9
by: TheSteph | last post by:
In VS 2005 Form files are in 3 parts : From1.cs, Form1.Designer.cs and Form1.resx. In VS 2003 there is only one ".cs files". How can I split my old VS2003 ".cs files" files in 2 files :...
3
by: garyusenet | last post by:
Dear Professionals, I have recently been using the wonderful krypton toolkit and am trying to use them in my small hobby application. I include this bit of info as an aside really because i'm...
19
by: zacks | last post by:
I have a .NET 2.0 MDI application where the child form has a Tab Control. Each of the Tab in the Tab Control has a Validating event to handle what it should do when the user changes tabs. But...
15
by: Kevin Davis | last post by:
Hello, I'm a new person when it comes to PHP and I have a quick question. I would like to create a form that will allow the user to add more information using the same form in case they have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.