Solved

Where to save temporary internet files

Posted on 2009-05-13
3
303 Views
Last Modified: 2013-12-25
I have a web site using javascript, perl, and php. I generate a graph that uses flash technology. I want to put this graph into a pdf file with other text and allow the end user to print it out. I can save the generated flash graph as a jpeg file. I can pull a graphic into the pdf file. What I don't know is where to save the graphic file. I would like to save the file on the client side. That way I don't need to worry about unique naming conventions and keeping track of numerous files. Client side I can just call the graphic the same thing each time and reference it by just one name for everyone. Is there a simple way to save this for all operating systems? I am thinking maybe the temporary internet file directory - if I am allowed to do such a thing - but I don't know how to do this. Or maybe there id a better solution for doing this?
0
Comment
Question by:pconder
  • 2
3 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 24382679
You cannot include a file from the file system just like that. It is not allowed from a security point of view
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 24588344
So the answer is correct: You can't do that

Actually you might be able to save an image < 4k b64 encoded in a cookie in firefox and use the data parameter in the image tag
It will not work in any browser that does not support the data parameter.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Multiple Domain names resolving 1 website on 1 server how to... 7 87
FTP File permissions 1 45
Angular JS form 8 44
REReplaceNoCase help 1 16
Read about why website design really matters in today's demanding market.
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

920 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

12 Experts available now in Live!

Get 1:1 Help Now