Forum Moderators: coopster
There is a html file, which puts rotate.php as a picture on the page.
There is a javascript file, which puts a new rotate.php in the image frame every four seconds.
There is a PHP file, rotate.php, which randomly outputs a picture.
I'm not sure I'm posting this on the right forum, since PHP, HTTP headers and javascript are involved and I don't know what part is causing the problem.
I'll post a part of rotate.php below..
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0
thumb($filename, 170, 170); // thumb is a working thumbnailgenerator, it outputs correctly in both browsers) [edited by: jatar_k at 5:19 pm (utc) on Jan. 15, 2006]
[edit reason] no urls thanks [/edit]
The memory cache includes (correct me if I'm wrong) elements from recently opened pages, such as the images from webmasterworld.com for me now.
The disk cache keeps everything that isn't in the memory cache until it expires.
One solution for you would be to have rotate.php show an img src=$random_image.jpg tag instead of outputting the image directly.