Re: Nitro PDF Form Element
| From: | Bastien Koert | Date: | Tue, 28 Jul 2009 19:37:46 +0000 |
| Subject: | Re: Nitro PDF Form Element | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-295974@lists.php.net to get a copy of this message | ||
On Tue, Jul 28, 2009 at 3:31 PM, Dare Williams<darrenwilly@yahoo.com> wrote:
> Dear Forum,
>
> I have an already created PDF Document that has a Form Element in it that was created with
> NITROPDF. But the problem is just that I need a way to pass value or populate the Document Form
> Element with value store in a Session Variable before the form is displayed to user.
>
> There is a process that the document must follow before it is finally allowed to be display to
> user.
>
> 1. A default PDF design Document with Form Element on the Server.
> 2. PHP opens the document first and populate the Form Element with Session Information.
> 3. PHP Save the Document with the populated value on the Server DIR..
> 4. PHP picks up the new filled documents and display it to the User on Browser.
>
> Any tips for this options.
>
> Williams.
>
> -------------------------------------------------------------------------------------------------------------------------------------
>
>
>
>
> --- On Tue, 7/28/09, Ashley Sheridan <ash@ashleysheridan.co.uk> wrote:
>
> From: Ashley Sheridan <ash@ashleysheridan.co.uk>
> Subject: Re: [PHP] Nitro PDF Form Element
> To: "Dare Williams" <darrenwilly@yahoo.com>
> Cc: php-general@lists.php.net
> Date: Tuesday, July 28, 2009, 3:21 PM
>
> On Tue, 2009-07-28 at 12:16 -0700, Dare Williams wrote:
>> Dear Forum Experts.
>>
>> I have an already created PDF Document that has a Form Element in it that was created with
>> NITROPDF. But the problem is just that I need a way to pass value or populate the Document Form
>> Element with value store in a Session Variable before the form is displayed to user.
>>
>> Can you please give me a tip of Ideas.
>>
>> Thank you.
>>
>> Williams.
>>
>>
>>
>>
> I think this is only possible at the time it is created, as the PDF is
> entirely separate from your web page, and could very well be opened from
> someones desktop.
>
> Thanks
> Ash
> www.ashleysheridan.co.uk
>
>
>
>
I do something similar with the PDFs and classic ASP. I use the fdf
toolkit (which i beleive is part of php) that lets you have scripting
access to the pdf form fields
http://ca2.php.net/manual/en/book.fdf.php
--
Bastien
Cat, the other other white meat