\recaptcha

Summary

Methods
Properties
Constants
__construct()
check_answer()
get_html()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
html_v2()
html_invisible()
$type
N/A

Properties

$type

$type : 

Type

Methods

__construct()

__construct(  $type = 'v2') 

Parameters

$type

check_answer()

check_answer(  $privkey,   $remoteip,   $response) 

Parameters

$privkey
$remoteip
$response

get_html()

get_html(string  $pubkey,   $type = 'v2') : string

Gets the challenge HTML (javascript and non-javascript version).

This is called from the browser, and the resulting reCAPTCHA HTML widget is embedded within the HTML form it was called from.

Parameters

string $pubkey

A public key for reCAPTCHA

$type

Returns

string —
  • The HTML to be embedded in the user's form.

html_v2()

html_v2(  $pubkey) 

Parameters

$pubkey

html_invisible()

html_invisible(  $pubkey) 

Parameters

$pubkey