-
Notifications
You must be signed in to change notification settings - Fork 0
Captcha
Aroop 'FinlayDaG33k' Roelofs edited this page Jan 25, 2017
·
2 revisions
The Captcha class makes it easier for developers to intregrate Google's reCaptcha in their website.
Below is a small list of functions you can use:
| Function | Arguments (In Order) | Example call | Possible Outputs | Description |
|---|---|---|---|---|
| Check | secret,g_response,remoteip | $Captcha->Check("your_private_key",$_POST['g-recaptcha-response'],"8.8.8.8"); | 1,0 | Checks if the captcha details send to the function are correct. Returns 1 if it's correct; Returns 0 if it's incorrect |