header("Content-type: image/gif");
$imgcord = imagecreate(500,500);
$blue = imagecolorallocate($imgcord, 0,0,255);
$red = imagecolorallocate($imgcord, 255,0,0);
ImageRectangle($imgcord, 175,165, 200,225, $blue);
ImageFill($imgcord, 0,0, $red);
ImageString($imgcord, 3,170, 220,"www.rntsoft.com", $blue);
ImagePNG($imgcord);
ImageDestroy($imgcord);
?>