corz.org uses cookies to remember that you've seen this notice explaining that corz.org uses cookies, okay!
<?php
// create random coloured framed background image
// frame is near-black, middle is near-white, this
// one has an inner frame, too, and is tweaked to produce green-ish colours
// total messing around time, under a minute, but you get the idea
// needs GD extensions on the php machine
// ;o)
$red_level = rand(0,14);
$green_level = rand(0,14);
$blue_level = rand(0,14);
$img = imagecreate(350, 90);
$imcolor = imagecolorallocate($img, $red_level, $green_level, $blue_level);
$fill = imagecolorallocate($img, 18+$red_level, 180+$green_level, 180+$blue_level);
$fill2 = imagecolorallocate($img, 240-$red_level, 255-$green_level, 255-$blue_level);
imagefilledrectangle($img, 3, 3, 346, 86, $fill);
imagefilledrectangle($img, 6, 6, 343, 83, $fill2);
header('content-type: image/png');
imagepng($img);
imagedestroy($img);
?>