This seems so complex for just a simple thing...
Right, i'll start out by saying what i'd like to happen.
i want to be able to output an image by using <img src="picview.php">.
Picview.php looks like this...
<?
function blink() {
srand((double)microtime()*1000000);
$blink=rand(1,5);
return $blink;
}
$data="http://personal.degauss.co.uk/images/blink/[".blink()."].gif";
header("Content-type: image/gif");
echo $data;
?>
I think i have to fopen the image file to turn it into binary data?
If someone can help me out, that'd be great 😉