[code=php]<?php
// session_start();
$img = imagecreatetruecolor(100, 50);
$son = mt_rand(10000,99999);
//$harf = mt_rand();
// $_SESSION['id'] = $son;
$color = imagecolorallocate($img, 255, 255, 255);
imagettftext($img, 20, 15, 15, 10, $color, 'ARIALN.TTF', $son);
//imagestring($img, 10, 20, 15,