lo fatto ho messo un immagine con bordo ma mi crea sempre un bordo....
ti posto lo script...
Codice PHP:
<?php
session_start();
header("Content-type: image/png");
$captchaImage=imagecreatefrompng("captcha/captcha.png") or die("Cannot Initialize new GD image stream");
$captchaFont=imageloadfont("captcha/font.gdf");
$captchaText=substr(md5(uniqid('')),-5,5);
$_SESSION['session_captchaText']=$captchaText;
$captchaColor=imagecolorallocate($captchaImage,153,204,255);
imagestring($captchaImage,$captchaFont,1,1,$captchaText,$captchaColor);
imagepng($captchaImage);
imagedestroy($captchaImage);
?>