Solved

Save PDF to web server

Posted on 2008-09-29
8
971 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
[X]
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
8 Comments
 
LVL 48

Expert Comment

by:hernst42
ID: 22601440
0
 
LVL 28

Expert Comment

by:lesouef
ID: 22603412
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
ID: 22604390
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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 48

Expert Comment

by:hernst42
ID: 22604553
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
 

Author Comment

by:ChipEaton
ID: 22604617
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
ID: 22604859
> 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
ID: 22605086
On the clients computer.
0
 
LVL 19

Accepted Solution

by:
billmercer earned 500 total points
ID: 22605690
"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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

739 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