Martin Wickman wrote:
In article <3f***********************@news.easynet.co.uk>, Kevin Thorpe wrote:
I have a problem with IE and generated images (jpgraph). It displays
them fine but it's not printing them. They appear as little red crosses
in print preview.
I've fiddled with the cache control headers as I thought that was it.
Certainly IE refuses to cache pdf files sent using fpassthru and cannot
open them in acrobat.
Try adding suitable no-cache headers to the http reply headers for the
generated gifs.
Or use a better browser...
I think php automatically adds no-cache headers. Certainly that's how it
appears looking at server traffic. It then causes problems with php
delivered non browser documents (Excel, Word etc) as IE simply runs Word
or Excel and gives it the name of the document in the cache which
magically doesn't exist. For these documents I have to add
Cache-control: public to get IE to work. It doesn't appear to work for
generated gifs though.
I use Opera and it works fine. I guess I'll have to upgrade my users,
preferably with a baseball bat ;-)