本文整理汇总了PHP中_recaptcha_qsencode函数的典型用法代码示例。如果您正苦于以下问题:PHP _recaptcha_qsencode函数的具体用法?PHP _recaptcha_qsencode怎么用?PHP _recaptcha_qsencode使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了_recaptcha_qsencode函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: 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.
* @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: fst_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.
* @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));
}
示例3: 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.
*
* @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]);
}