This BotDetect Captcha PHP code example shows how to configure Captcha challenges by overriding Captcha library defaults in application configuration files.
BotDetect allows user-defined customization of many Captcha options through a special CaptchaConfig.php
file, which should be placed in the same folder as the botdetect.php
include used by your PHP forms.
Captcha settings from this configuration file will apply to all Captcha challenges shown on forms including that particular copy of botdetect.php
, and will act as defaults with which all Captcha objects will be created. This makes configuration file settings the simplest and most convenient way of Captcha customization for most use cases.
The CaptchaConfig.php
file used in this code example contains detailed descriptions and explanations of the many customizable Captcha options exposed by the BotDetect PHP Captcha configuration API.
BotDetectâ˘
trademark in the background of 50% of all Captcha images generated.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