agentOOjoe
06-18-2008, 07:37 AM
So I searched all over the web for some site that would teach a newbie like me how to submit a PDF form to my server without changing it into a different format like FDF or html.
Unfortunately... i found nothing.
So... here is what I have come to:
I am using Acrobat 8 pro and have made a very simple form with a submit button that exports the data to a specified URL. However, I want to use the bottom option, that allows me to export the complete document in PDF format.
So the method I have come to, which i think might eventually work, is to use fileuploader.cgi (by notjustcomputers). So after I configured it, I just set my submit buttom to link to this file (http://www.mysite.org/cgi-bin/fileuploader.cgi)
The problem is that the cgi file requires that the variable "file" contains the file path of the file being uploaded (which would normally be attained by including a file input field in HTML).
So here is what I want to do:
When configuring a PDF form to be sent as an email attachment upon submission, acrobat temporarily saves it to the hard drive so that this updated PDF can be attached to a newly composed email message.
Since I don't want to take the email route, I want to be able to set my "file" variable to that temporary location so that fileuploader.cgi can then find it and upload it.
However, I am not sure how to write the local url for this temporary location (in a way that would apply to all systems). On my computer it looks like this:
file:///C:/DOCUME~1/Joe/LOCALS~1/Temp/moz_mapi/mypdf.pdf
is there a way to point to the temp directory on any computer... and if there is a way... do you think this system would work?
Thank you very much for any help,
Joe
Unfortunately... i found nothing.
So... here is what I have come to:
I am using Acrobat 8 pro and have made a very simple form with a submit button that exports the data to a specified URL. However, I want to use the bottom option, that allows me to export the complete document in PDF format.
So the method I have come to, which i think might eventually work, is to use fileuploader.cgi (by notjustcomputers). So after I configured it, I just set my submit buttom to link to this file (http://www.mysite.org/cgi-bin/fileuploader.cgi)
The problem is that the cgi file requires that the variable "file" contains the file path of the file being uploaded (which would normally be attained by including a file input field in HTML).
So here is what I want to do:
When configuring a PDF form to be sent as an email attachment upon submission, acrobat temporarily saves it to the hard drive so that this updated PDF can be attached to a newly composed email message.
Since I don't want to take the email route, I want to be able to set my "file" variable to that temporary location so that fileuploader.cgi can then find it and upload it.
However, I am not sure how to write the local url for this temporary location (in a way that would apply to all systems). On my computer it looks like this:
file:///C:/DOCUME~1/Joe/LOCALS~1/Temp/moz_mapi/mypdf.pdf
is there a way to point to the temp directory on any computer... and if there is a way... do you think this system would work?
Thank you very much for any help,
Joe