/** * 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)); }
<?php
/** * 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)); }
/** * 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]); }