Solved

Where to save temporary internet files

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

746 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

13 Experts available now in Live!

Get 1:1 Help Now