Jump to content

coldpll

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by coldpll

  1. Thank you! yes of course I did everything according to the instructions. But there is the question - .gitignore? I found only a text (.txt) file with this name - it's not at all clear what it is for. reCAPTCHA can be seen on the site and it works, but the registration after does not work. Simply throws and offers again to register
  2. Thanks, but in any case does not work, even if I keep so. After the registration of errors does not issue - but registration does not pass! I do everything according to the instructions. in files (recaptcha-1.1.3\src....) nothing needs to be changed?
  3. HI! the program Adobe Dreamweaver shows an error in this line - $recaptcha = new \ReCaptcha\ReCaptcha(Config::Get('RECAPTCHA_PRIVATE_KEY')); here is my entry: protected function VerifyData() { $error = false; $recaptcha = new \ReCaptcha\ReCaptcha(Config::Get('RECAPTCHA_PRIVATE_KEY')); $resp = $recaptcha->verify($_POST['g-recaptcha-response'], $_SERVER['REMOTE_ADDR']); if(!$resp->isSuccess()) { $error = true; $this->set('captcha_error', $resp->error); } else { $this->set('captcha_error', ''); }
×
×
  • Create New...