<script language="php">
#
# create the image
#
$image=ImageCreate(400,50);
#
# set the R,G,B background color of the imagee
#
$background_color=ImageColorAllocate($image,255,0,0);
#
# define RGB black as a color used on the image
#
$black=ImageColorAllocate($image,0,0,0);
#
# copy the color $black into the image between 0,0 and 50,50
#
ImageFilledRectangle($image,0,0,50,50,$black);
#
# copy the color $black into the image between 100,0 and 150,50
#
ImageFilledRectangle($image,100,0,150,50,$black);
#
# copy the color $black into the image between 200,0 and 250,50
#
ImageFilledRectangle($image,200,0,250,50,$black);
#
# copy the color $black into the image between 300,0 and 350,50
#
ImageFilledRectangle($image,300,0,350,50,$black);
#
# fill the entire image with black (but we have commented it out)
#
#ImageFilledRectangle($image,0,0,400,50,$black);
#
# return the image
#
header("Content-Type: image/png");
ImagePNG($image);
</script>