regular expression for an image verification

Discussion in 'PHP' started by rojojat, Dec 21, 2008.

  1. #1
    Hi
    I have created about a dozen different images for a image verification section on a website, each containing six letters or numbers.They randomly change when you refresh the page.I need a regular expression to validate each user input for each individual image.

    thanks
     
    rojojat, Dec 21, 2008 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    why regex? get a good function captcha script, how more advanced the better is the protection! and mostly free of charge!
     
    EricBruggema, Dec 28, 2008 IP
  3. Danltn

    Danltn Well-Known Member

    Messages:
    679
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #3
    That's an awful way of doing verification, use a proper Captcha script, or if you're lazy use something like Recaptcha.
     
    Danltn, Dec 28, 2008 IP