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. Quote Link to comment 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/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.