stop spam using images

Discussion in 'Programming' started by phd, Apr 19, 2006.

  1. #1
    Hi guys,

    How to create random image that have some text on it radomly. so that automatic form submission can be prevented.

    Generally it is in registration form. like in digitalpoint forum registration http://forums.digitalpoint.com/register.php - > Image Verification

    How to make these kind of image using programming?
     
    phd, Apr 19, 2006 IP
  2. clancey

    clancey Peon

    Messages:
    1,099
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You are talking about captcha images. There are several libraries, in various programming languages, available around internet.

    Basically, they generate a random string of text made up of letters and.or numbers and print this on top of a picture. When the user enters what they saw, it is compared to the string used by the machine. If it is the same, the user proceeds. If it is different, the user is shown a new image with a new random string.

    To make it harder for machines to guess the string, the text is often skewed in some direction and the baseline for the text shifted up and down. Further confusion is added by applying a random texture to the image. More confusion by imbedding nearly invisible letters in the image. The idea is that a program capable of finding text in the image, will also find the hidden text that a human would not see.

    I hope this helps point you in the right direction.
     
    clancey, Apr 19, 2006 IP
  3. frankcow

    frankcow Well-Known Member

    Messages:
    4,859
    Likes Received:
    265
    Best Answers:
    0
    Trophy Points:
    180
    #3
    frankcow, Apr 19, 2006 IP
  4. phd

    phd Active Member

    Messages:
    496
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Yes, I think I'm asking for captcha images. Ok that is called captacha images correct!
     
    phd, Apr 28, 2006 IP