plugin:captcha
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
plugin:captcha [2021-11-10 23:50] – version upped andi | plugin:captcha [2022-08-10 17:17] – [check($msg=true)] Klap-in | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : andi@splitbrain.org | email : andi@splitbrain.org | ||
type : action, helper | type : action, helper | ||
- | lastupdate : 2021-11-10 | + | lastupdate : 2022-01-11 |
compatible : Elenor Of Tsort, Detritus, Binky, Ponder Stibbons, Hrun, " | compatible : Elenor Of Tsort, Detritus, Binky, Ponder Stibbons, Hrun, " | ||
depends | depends | ||
Line 88: | Line 88: | ||
Use this function to check if the CAPTCHA was filled correctly. It returns '' | Use this function to check if the CAPTCHA was filled correctly. It returns '' | ||
+ | |||
+ | ==== Example ==== | ||
+ | <code php> | ||
+ | //add captcha if available | ||
+ | /** @var helper_plugin_captcha $captcha */ | ||
+ | $captcha = $this-> | ||
+ | if ($captcha && $captcha-> | ||
+ | $form-> | ||
+ | } | ||
+ | |||
+ | ... | ||
+ | |||
+ | /** @var helper_plugin_captcha $captcha */ | ||
+ | $captcha = $this-> | ||
+ | if ($captcha && $captcha-> | ||
+ | $captchaok = $captcha-> | ||
+ | } | ||
+ | </ | ||
===== FAQ ===== | ===== FAQ ===== | ||
plugin/captcha.txt · Last modified: 2023-12-06 23:50 by andi