473,915 Members | 2,908 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2079
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_st ring(fdf_get_va lue($fdf, 'info'));
fdf_close($fdf) ;
mysql_query("IN SERT 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
2025
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 have recently added a new, high speed, black and white, printer which would be perfect for the engineering documents I want to print. Does anyone know if the destination printer can be selected when using ShellExecute? There is a string field...
1
3930
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. When the application is opened by someone, it seems that if one of the Adobe 7.0 (Standard or Professional) users susequently open the application, they get the error - "...You do not have exclusive permissions to the database. Changes that you...
2
1596
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. We were given Adobe Acrobat Professional 6 and told it could build the packet for us in an automated fashion....ie it could convert the 10 or so reports to PDF format and merge them into one file. Manually I found this simple enough to do....
6
5275
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 file we are downloading "cannot be opened by the default program. It is either corrupted or it has an incorrect file type." We had no problem until our upgrade, but our IT department says there's no fix. My question is concerning Adobe Acrobat....
1
3393
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 classes for deviding/merging some pdf's. It's all working fine with version 5 of Adobe Acrobat installed, but when we switch to version 7 we started getting problems. I'm having difficulty fixing that because i have no clue what parameters should be...
0
3518
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 programmitically and NOT through the designer.
0
1701
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 version. When trying to view a file manually Adobe 5.0 displays a pop up message: "This file may contain newer information than this viewer can support. It may not open or display correctly". There is a check box with the pop-up that says,...
5
5957
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 say "Hello World" in a Flash enabled web page rendered via ASP.NET. Can any one let me get started? ---
10
6738
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, with a "thick client" which makes calls to my grid of servers via a socket or remoting connection. Customers are pleased with my work but it seems that over the past twelve months or so, those same customers have expressed a strong demand to...
2
8114
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: http://kbalertz.com/954822/install-configure-Indexing-Service-Windows-Server-computer.aspx http://kbalertz.com/820105/Application-Query-Indexing-Service-Catalog-Using-Visual-Basic.aspx I can search some files .xls .doc and others but It will not find anything in .pdf
0
10038
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11352
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10922
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11064
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10541
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9730
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8099
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7253
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6143
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.