Re: fdf/pdf
From: John T. Jarrett (john_at_logontexas.com)
Date: 07/28/04
- Next message: Charles Waters: "Need mail() assistance.."
- Previous message: John T. Jarrett: "Re: include('script.php?value=$value')"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Jul 2004 17:01:49 GMT
Hey, that's my username!
Ok, back to work...
I use http://www.ros.co.nz/pdf/ to put a pdf of a contract up with the
customer's info already inserted so they can just print it off after
storing or retrieving it from a MySQL database.
I'm not sure how well it will do FDF format...the version I use
predates that :>)
Two benefits to this one:
1) it is free
2) it is simple...maybe too simple...but works great
hth,
John T. Jarrett
"Jay Jarrett" <jjarrett@nospam.comcast.net> wrote in message
news:w8adnRW_nOQk357cRVn-rg@comcast.com...
> I'm looking for information regarding FDF file generation using form
output
> from php.
> What I would like to do is:
>
> 1. Enter information by form on a page via a browser.
> 2. Store this info in a MySQL database.
> 3.Call this info to populate a preexisting FDF file.
> 4. Output this back via browser by means of PDF.
>
> For example: I would create a PDF of an invoice (or whatever), then
make
> form fields in the PDF using Acrobat, and export an FDF file.
>
> %FDF-1.2
> %âãÏÓ
> 1 0
>
obj<</FDF<</F(PDF_TEST.pdf)/ID[<6a45115bd7bdbd3cf8b98e9e1720e737><603e
bdf0c8
>
fce94f8336817c6bf5df95>]/Fields[<</T(<Name>)/V(<variable_Name>)>><</T(
<addre
>
ss>)/V(<variable_address>)>><</T(<info>)/V(<variable_info>)>><</T(<pho
ne>)/V
> (<variable_phone>)>>]>>>>
> endobj
> trailer
> <</Root 1 0 R>>
> %%EOF
>
> The fields with "variable" in the name will be populated with user
input
> from PHP/MySQL.
> I'm sure this is very simple, but I am very new to PHP, so go
figure.
> Basically, what I need is some help or examples on how to make form
data
> populate a database, save it there, place the data into the FDF
file, then
> save it to the server. Maybe even create the FDF file itself. I'm
sure there
> are a number of ways to accomplish what I am trying to do.
>
> I have done this in Coldfusion, but I need this in PHP. Any and all
help
> and/or comments regarding this will be greatly appreciated.
>
>
- Next message: Charles Waters: "Need mail() assistance.."
- Previous message: John T. Jarrett: "Re: include('script.php?value=$value')"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|