BotDetect PHP CAPTCHA Validation:
PHP Form CAPTCHA Code Example

CAPTCHA included in PHP form validation
Retype the CAPTCHA code from the image
Change the CAPTCHA code

CAPTCHA Code Example Description

This BotDetect Captcha PHP code example shows how to add BotDetect CAPTCHA protection to a typical PHP form.

Captcha validation is integrated with other form fields validation, and only submissions that meet all validation criteria are accepted.

If the Captcha is sucessfully solved but other field validation fails, the Captcha is hidden since the users have already proven they are human.

This kind of validation could be used on various types of public forms which accept messages, and are at risk of unwanted automated submissions.

For example, it could be used to ensure bots can't submit anything to a contact form, add guestbook entries, blog post comments or anonymous message board / forum replies.

Free Version Limitations

  • The free version of BotDetect only includes a limited subset of the available CAPTCHA image styles and CAPTCHA sound styles.
  • The free version of BotDetect includes a randomized BotDetect™ trademark in the background of 50% of all Captcha images generated.
  • It also has limited sound functionality, replacing the CAPTCHA sound with "SOUND DEMO" for randomly selected 50% of all CAPTCHA codes.
  • Lastly, the bottom 10 px of the CAPTCHA image are reserved for a link to the BotDetect website.

These limitations are removed if you upgrade your BotDetect license.

BotDetect PHP Captcha Library version 4.1.0 Free loaded by PHP version 7.2.34-38+ubuntu18.04.1+deb.sury.org+1