Skip to content

Instantly share code, notes, and snippets.

@tribulant
Created May 7, 2016 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tribulant/b47bc99d5b2497a87d4f0da03d5c9bc3 to your computer and use it in GitHub Desktop.
Save tribulant/b47bc99d5b2497a87d4f0da03d5c9bc3 to your computer and use it in GitHub Desktop.
Really Simple Captcha plugin - remove() method
<?php
$captcha = new ReallySimpleCaptcha();
// ...
// ...
// code to do check on user input
$result = $captcha -> check($prefix, $input);
// remove the image that was used
$captcha -> remove($prefix);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment