Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

CAPTCHA/Integration/The Anti-CAPTCHA/Stronger

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

This version of the Anti-CAPTCHA is stronger. Form Code JavaScript document.write("<input type=hidden name=code value="+Math.random()+" />"); This must be in your form. Use in an HTML form: <script type="text/javascript"> document.write("<input type=hidden name=code value="+Math.random()+" />"); </script> Server-Side Code Use this: <?php if (!$_POST['code']) { // abort } ?> Problems with this version It hinders the usability, as people with JavaScript disabled (for example, for security reasons) won't be able to access your form. See also The Anti-CAPTCHA