Solved

Save PDF to web server

Posted on 2008-09-29
8
965 Views
Last Modified: 2013-12-12
Hello,  This is my first post as I am new here.  I am trying to create a PDF and save it automatically to a web server so that is can later be accessed by Filemaker Pro.
I am trying to use php to accomplish this.  I am new to php so a simple solution (if one exists) or sample code would be great.  Please let me know know if this is possible, or if there is a program out there that might help me out.  Let me know if I need to describe things in more detail.
0
Comment
Question by:ChipEaton
8 Comments
 
LVL 48

Expert Comment

by:hernst42
Comment Utility
0
 
LVL 28

Expert Comment

by:lesouef
Comment Utility
what's the problem, creating pdf or uploading file or both?
could filemaker generate the pdf itself or is it database external data in it?
0
 

Author Comment

by:ChipEaton
Comment Utility
The problem is not creating the PDF or being able to upload it.  
It's creating the PDF and having it save to the web server without user interaction.  I would like to create an automated system that will create and save the PDF once the user has "finished" an update.  
I hope this help explain what I am trying to done.

TIA.
0
 
LVL 48

Expert Comment

by:hernst42
Comment Utility
Sorry but your explanation is not sufficent. What do you mean by:
* the user has "finished" an update
* It's creating the PDF and having it save to the web server without user interaction. Who is "It's" So which parts do you already have?
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:ChipEaton
Comment Utility
I can create the PDF but is has to be saved to the users local hard drive.  I would like the user to click a "submit" button, and then have the PDF created and saved to the web server all behind the scenes.  Without the user having to save the PDF to their hard drive and then upload it to the web server.  
0
 
LVL 48

Expert Comment

by:hernst42
Comment Utility
> I can create the PDF but is has to be saved to the users local hard drive.
Where is this pdf create on a server or on the clients computer or on the webserver or where?
0
 

Author Comment

by:ChipEaton
Comment Utility
On the clients computer.
0
 
LVL 19

Accepted Solution

by:
billmercer earned 500 total points
Comment Utility
"It's creating the PDF and having it save to the web server without user interaction."

It sounds like what you are trying to do is create a web site that will create a PDF file on a user's computer, then automatically upload that PDF to the site through the browser.

If that is what you want, it's not possible.

Browsers cannot automatically upload files without user interaction, for security reasons. If this were possible, then someone could create a web page that could retrieve files from your hard drive without your knowledge.  The most you can do with a browser is give the user a dialog box to upload a file.

Some sort of third party browser plugin, like a Java applet or an ActiveX control might do this, but the user would still have to accept and install the plugin.

If you are distributing some sort of application to the end users, then this could be achieved fairly easily, but it won't happen with just a browser.


0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now