Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

submitting a pdf directly to the server

Posted on 2013-01-03
8
283 Views
Last Modified: 2013-01-07
Sometimes I've seen companies that you login to your account, fill out the pdf and save. and somehow it must get saved to their server and not on your computer.
how do they do that?
0
Comment
Question by:rivkamak
  • 4
  • 3
8 Comments
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 38741539
You are simply uploading a file.  To do this you need to use either html5 and a serverside scripting language to handle the file.  Or you can use php/asp/3rd party components.   You can also use web services where the files are stored on a 3rd party server

Are you familiar with php or asp or another serverside language?
0
 

Author Comment

by:rivkamak
ID: 38741560
I can do it in any language.
If I embed the pdf on my page, how does that save in the pdf know where to save it.
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 38741687
There are many ways to go about this.  Here are a  couple.  You are starting with a multipart/form-data form.  Then using your scripting to handle the upload.

php  http://www.w3schools.com/php/php_file_upload.asp

HTML 5  http://www.html5rocks.com/en/features/file_access

php
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:rivkamak
ID: 38744123
I don't think you understand the question.
I want the pdf to be embedded on my page. Not a link that opens on a different browser.
I don't want the user to have to save the pdf on their hard drive and then find it and click upload.
I've seen some sites, like insurance requests, that you type on the pdf on their page, and when you save, somehow it saves and closes and the company gets the data.
How did they set it up to upload without the user seeing anything?
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 38747410
There are some expensive PDF document servers out there if you want to use them.

But this shouldn't be anything different from displaying data from a database source into HTML form, have a user edit the data and save back the changes. You just need to find/create a class that you can use to generate a PDF document instead of HTML form and parse the user input to update the database when saving it.
I do not know of any specific class but I am sure there are some available if you google for it.

CyanBlue
0
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 38749621
I'm sorry, I did not understand your question. Based on the way it is worded, I took it to mean you wanted a way to create a dynamically generated pdf that can be saved to your server.

With your clarification to have the ability to fill out a pdf document and have the data submit to someplace, what you are looking for is acrobate pro.   It has a forms manager where you can create fields for fillable forms.  The data is sent as xml to the receiver who can easily read the data in their duplicate copy of the same form.  While it appears a ful pdf document gets sent, it is actually just the form data.

You will simply make the pdf a page on your site and it will load in the browser as if it where an html page.  Acrobate pro is about $200 bucks.

Personally, I think you are better off creating html web forms and use your server side scripting language of choice to either save the data to a database or send you an email.  You can do the same thing with google docs for free http://docs.google.com/ where you create a form and it save to an online spreadsheet only you have access to.
0
 

Author Comment

by:rivkamak
ID: 38751304
I have adobe acrobat pro.
is there somewhere i can get documentation to figure out how to program the file so it'll send data out as xml?
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 38751361
There should be a menu item for forms.   I have File, Edit, view, Document, Comments, Forms, Tools, Advanced, Window and help.  Open up your document, save it as something, then go to forms > Create New Form and follow the wizard.  If you have a ms word doc for instance that you create a pdf from where you have questions.  Sometimes the form wizard can detect where to place fields.

http://help.adobe.com/en_US/acrobat/pro/using/WS58a04a822e3e50102bd615109794195ff-7e0d.w.html

Working with pdf forms is not the easiest thing at first but once you start doing it works out.  I found it faster to create what I want in another program, make the pdf then run the forms wizard.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read about why website design really matters in today's demanding market.
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This video teaches users how to migrate an existing Wordpress website to a new domain.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question