IrisCaptchaPHPLib is a PHP library to validate results provided by IrisCaptcha web component. You can get more information about IrisCaptcha from irisdev.net
- Include or require "irisCaptcha.lib.php" file
- Use "Check_Answer" function to validate the answer
- Act accordingly to the answer
$ git clone https://github.com/IrisDev-net/IrisCaptchaPHPLib.gitYou can also download the a file of the library form Here
The checker function accepts some parameters as below:
| Name | Required | Type | Default Value | Description |
|---|---|---|---|---|
| response | Yes | String | - | The response comes from server |
| remoteip | Yes | String | - | The Client IP?!! |
| SignaturePreferration | No | Boolean | False | if set True it will try to validate response with Public Key |
| extra_params | No | Array | [] | - |
