Here's the very simple script I've got...
Code: Select all
<?php
header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
header('Pragma: no-cache');
header('Content-Type: image/jpeg');
$images = array(
'three',
'beenthere',
'time',
);
$image = $images[array_rand($images)];
readfile('./'.$image.'.jpg');
?>If NOT, then how about this... One random image per day. Once the user has seen the image, it stays the same (reads from cache) until the next day. That possible?