Solved

Where to save temporary internet files

Posted on 2009-05-13
3
305 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
tutorial for ebay api 3 55
One field not displaying content (ASP Classic) 8 29
website rewamp 5 42
How do I pull the base url for use in html links 7 31
Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

792 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