Пример #1
0
/**
 * 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.
 * @param string $domain The domain where the page is hosted
 * @param string $appname The name of your application
 */
function recaptcha_get_signup_url($domain = null, $appname = null)
{
    return "https://www.google.com/recaptcha/admin/create?" . _recaptcha_qsencode(array('domains' => $domain, 'app' => $appname));
}
Пример #2
0
<?php
Пример #3
0
/**
 * 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.
 * @param string $domain The domain where the page is hosted
 * @param string $appname The name of your application
 */
function fst_recaptcha_get_signup_url($domain = null, $appname = null)
{
    return "http://recaptcha.net/api/getkey?" . _recaptcha_qsencode(array('domain' => $domain, 'app' => $appname));
}
Пример #4
0
/**
 * 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.
 *
 * @param string $domain The domain where the page is hosted
 * @param string $appname The name of your application
 */
function recaptcha_get_signup_url($domain = NULL, $appname = NULL)
{
    return "https://www.google.com/recaptcha/admin/create?" . _recaptcha_qsencode(['domains' => $domain, 'app' => $appname]);
}