function recaptcha_get_signup_url in reCAPTCHA 5.2
Same name and namespace in other branches
- 8 recaptcha-php-1.11/recaptchalib.php \recaptcha_get_signup_url()
- 6 recaptcha-php-1.11/recaptchalib.php \recaptcha_get_signup_url()
- 7 recaptcha-php-1.11/recaptchalib.php \recaptcha_get_signup_url()
gets a URL where the user can sign up for reCAPTCHA. If your application has a configuration page where you enter a key, you should provide a link using this function.
Parameters
string $domain The domain where the page is hosted:
string $appname The name of your application:
1 call to recaptcha_get_signup_url()
- recaptcha_admin_settings in ./
recaptcha.module - Implementation of admin settings().
1 string reference to 'recaptcha_get_signup_url'
- _recaptcha_library_not_found in ./
recaptcha.inc - Let the user know that the reCAPTCHA PHP library is not installed
File
- recaptcha/
recaptchalib.php, line 202
Code
function recaptcha_get_signup_url($domain = null, $appname = null) {
return "https://www.google.com/recaptcha/admin/create?" . _recaptcha_qsencode(array(
'domains' => $domain,
'app' => $appname,
));
}