Irresistable Posted January 1, 2010 Share Posted January 1, 2010 How do I create Noise onto this captcha image creation? <?php session_start(); header ("Content-type: image/png"); $rno = rand(10000,99999).' '.rand(10000,99999); $_SESSION['ckey'] = $rno; $img_handle = imageCreateFromPNG("bg1.PNG"); $color = ImageColorAllocate ($img_handle, 0, 0, 0); ImageString ($img_handle, 2, 10, 8, $rno, $color); ImagePng ($img_handle); ImageDestroy ($img_handle); ?> THe ImageString() isn't quite finished, still need to mess around with the sizes. Link to comment https://forums.phpfreaks.com/topic/186832-image-noise/ Share on other sites More sharing options...
JD* Posted January 2, 2010 Share Posted January 2, 2010 Check out http://www.thewebhelp.com/php/php_contact_form_with_image_validation/ Link to comment https://forums.phpfreaks.com/topic/186832-image-noise/#findComment-986937 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.