473,405 Members | 2,160 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,405 software developers and data experts.

PHP and Adobe FDF/PDF

I am trying to figure out how to do the following:

1. Upload an Adobe FDF to my server
2. read the field names out of the FDF into MySQL for future use
3. Generate an interview form based upon the fields read
4. write a permanent pdf to the server populating the fields

I can do the upload, I can write to the database and I can generate a
dynamic interview form based upon the fields read. The interaction
with an FDF and PDF are beyond me. Can someone point me in the right
direction to start this?

TIA
Jul 17 '05 #1
1 2063
nc
Matthew Speed wrote:

I am trying to figure out how to do the following:
I am assuming you have the FDF Toolkit installed on
your server and configured properly...
1. Upload an Adobe FDF to my server
2. read the field names out of the FDF into MySQL for future use
OK, let's pretend for simplicity that the FDF transmits
only one field called 'info'. So here's what you do:

$fdf = fdf_open_string($HTTP_FDF_DATA);
$info = mysql_escape_string(fdf_get_value($fdf, 'info'));
fdf_close($fdf);
mysql_query("INSERT INTO sometable SET info='$info'");
3. Generate an interview form based upon the fields read
4. write a permanent pdf to the server populating the fields

I can do the upload, I can write to the database and
I can generate a dynamic interview form based upon the
fields read. The interaction with an FDF and PDF are
beyond me.


For a good reason, for there is none. With FDF, all you
can do is manipulate pre-existing forms. You cannot make
a permanent (i.e., formless) PDF, unless you generate the
PDF from scratch using whatever PDF generation facility
you have (PDFlib, ClibPDF, FPDF, whatever).

Cheers,
NC

Jul 17 '05 #2

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

Similar topics

3
by: Hank Reed | last post by:
I have been using the ShellExecute command for about a year to print out a list of PDF files. It's a great capability. Of course, the documents are actually printed by the Adobe application. We...
1
by: JohnC | last post by:
I have this exact same scenario. It is new and seems to be related to when we installed Adobe 7.0 Standard/Professional. We have an MDB on a LAN file server. Using Access 2K and Windows 2K. ...
2
by: Andre L via AccessMonster.com | last post by:
We run numerous Access reports which we auto export as .rtfs to a share. We also have numerous Excel sheets. Each month 10 or more of these reports are combined into deprtmental monthly packets. ...
6
by: jdph40 | last post by:
We recently had to upgrade the computers in our company. Now our office's website on our company intranet no longer recognizes reports saved in snapshot format. We get an error message that the...
1
by: MuZZy | last post by:
Hi, I just wonder if someone has any idea where i could get description of Adobe SDK functions translated to C#/VB.NET? The problem is this: we have an C#/VB.NET app which uses Acrobat COM...
0
by: s.danyal.k | last post by:
Hi All, I have made an application that loads an Adobe Acrobat file and shows it. For this I ve used Adobe ActiveX Control available in C#. Heres a sample code. I am adding the control...
0
by: Hank | last post by:
We have been printing pdf files through Adobe, from Access for several years. Adobe version 5.0 is currently installed. Recently we have received PDF files that were created under the Adobe 7.0...
5
by: ASP.NET explorer | last post by:
I have been asked to create some simple animation using Adobe Flash player in ASP.NET(C#) web application. While I am fairly well versed with ASP.NET C#, I absolutely have NO IDEA about how to...
10
by: Jules Winfield | last post by:
Guys, I've been designing applications for the financial services industry using MSFT technologies for many years (Win32 API, MFC, and now .NET WinForms). All applications are Internet-based,...
2
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a server 2008 IIS 7.0 with indexing service installed. I have created the catalog and have a test page using these posts:...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.