2){ $indis = $_GET['guv']."Guv"; $tut = $_SESSION["sil"][$indis] = $sifre; }else{ $tut = $_SESSION["sil"]["guv"] = $sifre; } $width = 110; $height = 30; $resim = ImageCreate($width,$height); $beyaz = ImageColorAllocate($resim, 255, 255, 255); $gri = ImageColorAllocate($resim, 169, 169, 169); $rand = ImageColorAllocate($resim, rand(0,255), rand(0,255), rand(0,255)); ImageFill($resim, 0, 0, $rand); ImageLine($resim, 10, 0, 10, 30, $beyaz); ImageLine($resim, 10, 0, 28, 30, $beyaz); ImageLine($resim, 80, 0, 50, 8, $beyaz); ImageLine($resim, 110, 0, 80, 30, $beyaz); ImageLine($resim, 90, 0, 90, 22, $beyaz); ImageLine($resim, 10, 0, 90, 30, $gri); ImageLine($resim, 90, 0, 10, 30, $gri); ImageString($resim, 5, 24, 7, $tut, $beyaz); //imagettftext($resim, 13, 0, 2, 5, $beyaz, "freesans", $tut); //ImageLine($resim, 110, 19, 0, 19, $beyaz); header("Content-type: image/png"); ImagePng($resim); ImageDestroy($resim); } } olustur(); ?>