yasirmturk / simple-php-captcha

A simple PHP CAPTCHA script.
MIT License
371 stars 212 forks source link

Image reload. #23

Closed chadwalt closed 8 years ago

chadwalt commented 8 years ago

How can I reload the image in case the user wants a new one?

claviska commented 8 years ago
  1. Send an AJAX request to the server
  2. Generate the new captcha image
  3. Store the code in the session variable
  4. Send back the updated source
  5. Swap the image out with JS