File size: 599B
<?php
///////////////////////////////
// by OTMOPO3OK //
//Site: http://wapsib.ru //
//icq: 8365085 //
//E-mail: [email protected] //
///////////////////////////////
// Mod Gemorroj
session_start();
$_SESSION['checkcode'] = $rand = mt_rand(10000, 99999);
$im = imagecreate(40, 15);
$background_color = imagecolorallocate($im, 111, 111, 111);
$col = ImageColorAllocate($im, 0, 0, 0);
ImageString($im, 3, 2, 1, $rand, $col);
header('Content-Type: image/gif');
header('Cache-control: no-cache, no-store');
imagegif($im);
imagedestroy($im);
?>