2007-11-23

CAPTCHA verification checklist

  • Verify if the verification code is set on session (isset($_SESSION['captchacode']))
  • Verify if the verification code length is greater than 0
  • Verify if the verification code equals the code entered by the user
  • Unset the code from the session after finishing with all the verifications above

Post a Comment