BotDetect PHP CAPTCHA Enumerations Reference

A number of enumerations is used to represent basic Captcha options available in the BotDetect PHP Captcha component.

ImageColorMode

Enumerates all BotDetect Captcha image color modes.

ImageColorMode Enumeration members
PHP Captcha ImageColorMode enumeration member Color Captcha image is rendered in color, and it becomes greyscale on hover
PHP Captcha ImageColorMode enumeration member Grayscale Captcha image is rendered in grayscale, and it becomes color on hover
PHP Captcha ImageColorMode enumeration member None Captcha image is still rendered in color by default and nothing happens on hover

CodeStyle

Enumerates all BotDetect Captcha code styles.

CodeStyle Enumeration Members
PHP Captcha CodeStyle enumeration member Alphanumeric Randomly generated Captcha codes will use both alphabet and numeric characters defined for the current character set
PHP Captcha CodeStyle enumeration member Alpha Randomly generated Captcha codes will use only alphabet characters defined for the current character set
PHP Captcha CodeStyle enumeration member Numeric Randomly generated Captcha codes will use only numeric characters defined for the current character set

ImageStyle

Enumerates all BotDetect Captcha image styles.

ImageStyle Enumeration Members
PHP Captcha ImageStyle enumeration member AncientMosaic BotDetect CAPTCHA AncientMosaic PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member BlackOverlap BotDetect CAPTCHA BlackOverlap PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Bubbles BotDetect CAPTCHA Bubbles PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Bullets BotDetect CAPTCHA Bullets PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Bullets2 BotDetect CAPTCHA Bullets2 PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member CaughtInTheNet BotDetect CAPTCHA CaughtInTheNet PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member CaughtInTheNet2 BotDetect CAPTCHA CaughtInTheNet2 PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Chalkboard BotDetect CAPTCHA Chalkboard PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Chess BotDetect CAPTCHA Chess PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Chess3D BotDetect CAPTCHA Chess3D PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Chipped BotDetect CAPTCHA Chipped PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Circles BotDetect CAPTCHA Circles PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Collage BotDetect CAPTCHA Collage PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Corrosion BotDetect CAPTCHA Corrosion PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member CrossShadow BotDetect CAPTCHA CrossShadow PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member CrossShadow2 BotDetect CAPTCHA CrossShadow2 PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Cut BotDetect CAPTCHA Cut PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Darts BotDetect CAPTCHA Darts PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Electric BotDetect CAPTCHA Electric PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Distortion BotDetect CAPTCHA Distortion PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Fingerprints BotDetect CAPTCHA FingerPrints PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Flash BotDetect CAPTCHA Flash PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Ghostly BotDetect CAPTCHA Ghostly PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Graffiti BotDetect CAPTCHA Graffiti PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Graffiti2 BotDetect CAPTCHA Graffiti2 PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Halo BotDetect CAPTCHA Halo PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member InBandages BotDetect CAPTCHA InBandages PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Jail BotDetect CAPTCHA Jail PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Lego BotDetect CAPTCHA Lego PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Mass BotDetect CAPTCHA Mass PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member MeltingHeat BotDetect CAPTCHA MeltingHeat PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member MeltingHeat2 BotDetect CAPTCHA MeltingHeat2 PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Negative BotDetect CAPTCHA Negative PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Neon BotDetect CAPTCHA Neon PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Neon2 BotDetect CAPTCHA Neon2 PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Overlap BotDetect CAPTCHA Overlap PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Overlap2 BotDetect CAPTCHA Overlap2 PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member PaintMess BotDetect CAPTCHA PaintMess PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Radar BotDetect CAPTCHA Radar PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Ripple BotDetect CAPTCHA Ripple PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Ripple2 BotDetect CAPTCHA Ripple2 PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Rough BotDetect CAPTCHA Rough PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member SpiderWeb BotDetect CAPTCHA SpiderWeb PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member SpiderWeb2 BotDetect CAPTCHA SpiderWeb2 PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Split BotDetect CAPTCHA Split PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Split2 BotDetect CAPTCHA Split2 PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Snow BotDetect CAPTCHA Snow PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Stitch BotDetect CAPTCHA Stitch PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Strippy BotDetect CAPTCHA Strippy PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member SunAndWarmAir BotDetect CAPTCHA SunAndWarmAir PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Sunrays BotDetect CAPTCHA SunRays PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Sunrays2 BotDetect CAPTCHA SunRays2 PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member ThickThinLines BotDetect CAPTCHA ThickThinLines PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member ThickThinLines2 BotDetect CAPTCHA ThickThinLines2 PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member ThinWavyLetters BotDetect CAPTCHA ThinWavyLetters PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Vertigo BotDetect CAPTCHA Vertigo PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member WantedCircular BotDetect CAPTCHA WantedCircular PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member Wave BotDetect CAPTCHA Wave PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member WavyChess BotDetect CAPTCHA WavyChess PHP Captcha Library image style screenshot
PHP Captcha ImageStyle enumeration member WavyColorLetters BotDetect CAPTCHA WavyColorLetters PHP Captcha Library image style screenshot

SoundStyle

Enumerates all BotDetect Captcha sound styles.

SoundStyle Enumeration Members
PHP Captcha SoundStyle enumeration member Dispatch Dispatch
 
PHP Captcha SoundStyle enumeration member HiveMind HiveMind
 
PHP Captcha SoundStyle enumeration member Industrial Industrial
 
PHP Captcha SoundStyle enumeration member Pulse Pulse
 
PHP Captcha SoundStyle enumeration member Radio Radio
 
PHP Captcha SoundStyle enumeration member RedAlert RedAlert
 
PHP Captcha SoundStyle enumeration member Robot Robot
 
PHP Captcha SoundStyle enumeration member Scratched Scratched
 
PHP Captcha SoundStyle enumeration member Synth Synth
 
PHP Captcha SoundStyle enumeration member Workshop Workshop
 
PHP Captcha SoundStyle enumeration member Collapse Collapse
 
PHP Captcha SoundStyle enumeration member Seeker Seeker
 

ImageFormat

Enumerates all BotDetect Captcha image output formats.

ImageFormat Enumeration Members
PHP Captcha ImageFormat enumeration member Jpeg Captcha images will be converted to the JPEG image format. Results in good image quality and reasonable image sizes; used by default
PHP Captcha ImageFormat enumeration member Gif Captcha images will be converted to the GIF image format. Only suitable for some image styles, resulting in lower image quality with the more color dynamic image styles
PHP Captcha ImageFormat enumeration member Png Captcha images will be converted to the PNG image format. Results in good image quality and image size, but not supported in older versions of Internet Explorer (would be used by default if this wasn't the case)

SoundFormat

Enumerates all BotDetect Captcha sound output formats.

SoundFormat Enumeration Members
PHP Captcha SoundFormat enumeration member WavPcm16bit8kHzMono The default format, used for underlying Captcha sound generation. Reasonable sound quality for Captcha purposes, resulting in moderate sound file sizes. Supported by most clients
PHP Captcha SoundFormat enumeration member WavPcm8bit8kHzMono Lower quality Wav format option, resulting in smaller sound file downloads while retaining good enough quality in most cases

CodeUsePurpose

Enumerates all BotDetect Captcha code generation purposes.

CodeUsePurpose Enumeration Members
CodeUsePurpose enumeration member ImageGeneration The Captcha code will be used for Captcha image generation
CodeUsePurpose enumeration member SoundGeneration The Captcha code will be used for Captcha sound generation
CodeUsePurpose enumeration member Other The Captcha code will be used for a purpose which is neither Captcha image nor Captcha sound generation

ValidationAttemptOrigin

Enumerates all BotDetect Captcha validation attempt origins. Different origins can result in different validation rules being applied.

ValidationAttemptOrigin Enumeration Members
ValidationAttemptOrigin enumeration member Unknown The validation origin isn't set
ValidationAttemptOrigin enumeration member Server The validation attempt is a result of server-side code called from a full form submission
ValidationAttemptOrigin enumeration member Client The validation attempt is a result of server-side code called from an Ajax call

BotDetect_SoundRegenerationMode

Enumerates all BotDetect Captcha sound regeneration modes.

BotDetect_SoundRegenerationMode Enumeration Members
BotDetect_SoundRegenerationMode enumeration member None Generate only one sound response per Captcha code, cache it on the server, and serve it for all consecutive sound requests.
BotDetect_SoundRegenerationMode enumeration member Limited Allow generation of a limited number of different sound responses (the minimum required to make Captcha audio work in all supported client browsers and devices), and automatically change the Captcha code on the client for consecutive sound requests if needed and possible.
BotDetect_SoundRegenerationMode enumeration member Unlimited Each audio request will generate a new Captcha sound response (previous BotDetect version behavior).