Fancy Capatcha Using of Ajax

Ajax Fancy Captcha is a jQuery plugin that helps you protect your web pages from boys and spammers in a new, intuitive way of completing ?verify humanity? tasks. In order to do that users are asked to drag and drop specified item into a circle.

The code calls captcha.php file and gets a random number. Php file just generates simple number and put it in session. When AJAX got that number it creates items based on that number. Lets imagine that we have array of ?pencil?, ?scissors?, ?clock?, ?heart?, ?note?, so if number 3 is returned it will take ?heart? and look for item-heart.png file in /imgs directory.

Leave a Comment.