You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/recaptcha-v2-checkbox-explicit.php
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -99,12 +99,7 @@
99
99
// If it's not successful, then one or more error codes will be returned.
100
100
?>
101
101
<h2>Something went wrong</h2>
102
-
<p>The following error was returned:
103
-
<?php
104
-
foreach ($resp->getErrorCodes() as$code) {
105
-
echo'<kbd>', $code, '</kbd> ';
106
-
}
107
-
?></p>
102
+
<kbd><pre><?phpvar_export($resp);?></pre></kbd>
108
103
<p>Check the error code reference at <kbd><a href="https://developers.google.com/recaptcha/docs/verify#error-code-reference">https://developers.google.com/recaptcha/docs/verify#error-code-reference</a></kbd>.
109
104
<p><strong>Note:</strong> Error code <kbd>missing-input-response</kbd> may mean the user just didn't complete the reCAPTCHA.</p>
Copy file name to clipboardExpand all lines: examples/recaptcha-v2-checkbox.php
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -99,12 +99,7 @@
99
99
// If it's not successful, then one or more error codes will be returned.
100
100
?>
101
101
<h2>Something went wrong</h2>
102
-
<p>The following error was returned:
103
-
<?php
104
-
foreach ($resp->getErrorCodes() as$code) {
105
-
echo'<kbd>', $code, '</kbd> ';
106
-
}
107
-
?></p>
102
+
<kbd><pre><?phpvar_export($resp);?></pre></kbd>
108
103
<p>Check the error code reference at <kbd><a href="https://developers.google.com/recaptcha/docs/verify#error-code-reference">https://developers.google.com/recaptcha/docs/verify#error-code-reference</a></kbd>.
109
104
<p><strong>Note:</strong> Error code <kbd>missing-input-response</kbd> may mean the user just didn't complete the reCAPTCHA.</p>
Copy file name to clipboardExpand all lines: examples/recaptcha-v2-invisible.php
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -99,12 +99,7 @@
99
99
// If it's not successful, then one or more error codes will be returned.
100
100
?>
101
101
<h2>Something went wrong</h2>
102
-
<p>The following error was returned:
103
-
<?php
104
-
foreach ($resp->getErrorCodes() as$code) {
105
-
echo'<kbd>', $code, '</kbd> ';
106
-
}
107
-
?></p>
102
+
<kbd><pre><?phpvar_export($resp);?></pre></kbd>
108
103
<p>Check the error code reference at <kbd><a href="https://developers.google.com/recaptcha/docs/verify#error-code-reference">https://developers.google.com/recaptcha/docs/verify#error-code-reference</a></kbd>.
109
104
<p><strong>Note:</strong> Error code <kbd>missing-input-response</kbd> may mean the user just didn't complete the reCAPTCHA.</p>
0 commit comments