Jump to content

Flatten / Merge Fdf Files In Php


Recommended Posts

I'm stuck so I'm back again - :wallbash:

 

I'm trying to find a way to dynamically create a PDF with form inputs filled out.

 

There are a TON of ways to do this by creating a FDF file which fills in the PDF template. The trouble I'm having is that I don't want to pass the FDF file to the user, I want them to view a PDF file.

 

I think my best bet to to find a way to do this by creating the FDF file (which I can do) than somehow flattening or merging the FDF with the original PDf to create a 'new' PDF file.

 

The only way I found to do this is using a program called PDF Toolkit (PDFTK) which is a server side app. that doesn't seem to be on my hosted server. So that's pretty much out of the question.

 

Any ideas or help you can offer would be much appreciated.

 

Thanks,

Steve

Link to post
Share on other sites

I'm not sure exactly what you mean by "I don't want to pass the FDF file to the user, I want them to view a PDF file." The only way they will be able to view it is essentially that you pass it to them.

 

Do you mean that you want them to open it directly in the browser, rather than saving to disk ?

Link to post
Share on other sites
I'm not sure exactly what you mean by "I don't want to pass the FDF file to the user, I want them to view a PDF file." The only way they will be able to view it is essentially that you pass it to them.

 

Do you mean that you want them to open it directly in the browser, rather than saving to disk ?

 

 

Either way.

What I mean is that I don't want the user to be able to see (view or edit) the FDF file. What I want the user to be able to see is a true PDF. The reason is that FDF (unlike PDF) can be opened and easily changed in any text editor.

Link to post
Share on other sites
  • 4 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...