Public Member Functions | |
__construct () | |
Construct a new Pictcha. | |
getJavascript () | |
Get the Javascript that must be embedded in the page for the Pictchas to work. | |
getMaxPictcha () | |
INSERT BRIEF DESCRIPTION HERE. | |
getPictcha () | |
INSERT BRIEF DESCRIPTION HERE. | |
getPictchaImage ($image) | |
INSERT BRIEF DESCRIPTION HERE. | |
getPictchaValue () | |
INSERT BRIEF DESCRIPTION HERE. | |
getValidPictcha ($seriesA, $hashA, $seriesB, $hashB) | |
INSERT BRIEF DESCRIPTION HERE. | |
setMaxPictcha ($picIn) | |
INSERT BRIEF DESCRIPTION HERE. |
Display and authenticate Pictchas (on XForms) to block automated form submissions. The Pictcha system presents a grid of pictures and tells the user to click on two types of objects, i.e., the dog and the chair. When they submit the form, the Pictcha module submits hash strings based on the images they clicked. Since the image of each object (and hash) is chosen at random from a large collection, there is no simple way for an automated agent to figure out what hashes to submit to validate the form submission. This would not work on a heavily trafficked project where a malicious user could initially identify all of the images for each object and then let an automated agent use that information.
Pictcha::getJavascript | ( | ) |
Get the Javascript that must be embedded in the page for the Pictchas to work.
INSERT FULL DESCRIPTION HERE
Pictcha::getMaxPictcha | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Pictcha::getPictcha | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Pictcha::getPictchaImage | ( | $ | image | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
$image | [TYPE]: DESCRIPTION |
Pictcha::getPictchaValue | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Pictcha::getValidPictcha | ( | $ | seriesA, | |
$ | hashA, | |||
$ | seriesB, | |||
$ | hashB | |||
) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
$seriesA | [TYPE]: DESCRIPTION | |
$hashA | [TYPE]: DESCRIPTION | |
$seriesB | [TYPE]: DESCRIPTION | |
$hashB | [TYPE]: DESCRIPTION |
Pictcha::setMaxPictcha | ( | $ | picIn | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
$picIn | [TYPE]: DESCRIPTION |