<?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(35090);
$imcolor imagecolorallocate($img$red_level$green_level$blue_level);
$fill imagecolorallocate($img18+$red_level180+$green_level180+$blue_level);
$fill2 imagecolorallocate($img240-$red_level255-$green_level255-$blue_level);
imagefilledrectangle($img3334686$fill);
imagefilledrectangle($img6634383$fill2);
header('content-type: image/png');
imagepng($img);
imagedestroy($img);

?>
back to the source menu
test

Welcome to corz.org!

I'm always messing around with the back-end.. See a bug? Wait a minute and try again. Still see a bug? Mail Me!