BlackHalt writeln (by me or from manual) PHP source Codes ...

PHP + GD Word Verification

<?php
// PHP + GD Word Verification
// time
$sk=time();
// md5 time 
$a=md5($sk);
// 4 simblZ
$b=substr($a,0,4);
header('Content-type: image/png');
$h=13;
$w=33;
$im=imagecreate($w,$h);
$bg=imagecolorallocate($im,0,0,0);
$txt=imagecolorallocate($im,255,255,255);
imagefill($im,0,0,$bg);
Imagettftext($im,10,0,0,11,$txt,'./verdana.ttf',$b);
imagepng($im);
// write
$f=fopen('tmp.txt','w+');
fwrite($f,$b);
fclose($f);
?>