<?php
// create random coloured framed background image
// frame is near-black, middle is near-white
// 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, 255-$red_level, 255-$green_level, 255-$blue_level);
imagefilledrectangle($img, 3, 3, 346, 86, $fill);

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!