I'm implementing google's reCAPTCHA V2. It works almost perfectly except for the following error located in the recaptchalib.php:
Notice: Use of undefined constant success - assumed 'success' in (script location)
https://github.com/google/ReCAPTCHA/blo ... chalib.php
Anyone got an idea how to fix this?
google reCAPTCHA V2 "Use of undefined constant .."
Moderator: General Moderators
Re: google reCAPTCHA V2 "Use of undefined constant .."
Code: Select all
if (trim($answers [success]) == true) {Code: Select all
if (trim($answers ['success']) == true) {Re: google reCAPTCHA V2 "Use of undefined constant .."
Celauran. Perfect. Thanks 