
Yes, yes, what you see in the picture is a captcha.
The story of the birth of this
sick imagination of the miracle of technology is as follows: a long time ago, I do not remember how many years ago I looked at some kind of American action movie in which the protagonist had a miracle computer, the authorization on which was not the usual login password, but picking up a hieroglyph. I really liked the idea, but then I was still far from programming, and all this was somehow forgotten. But recently, after reading a few topics on Habré about how familiar captcha “break” with ease, a crazy thought flashed through me - why not make a captcha hieroglyph?
The principle of this madness: the script generates a picture of the pre-prepared parts of the future "hieroglyph", as well as displays all the parts that are available. The user is prompted by dragging parts of a picture to the “building site” to assemble a similar hieroglyph.
Easier to show than to explain.
This all works on PHP with the help of scriptaculous + a couple of small self-signed JS functions. Included in the site just a few lines.
Download source and sample . While the code is somewhere not quite thought out and uncombed - just free time always ends inappropriately. By the way, I am waiting for proposals for improvement and refinement.
And yes - I still realized the childhood dream and attached this perversion to authorize the admin on the site :). Naturally, without displaying the sample hieroglyph, and the password array is stored in encrypted form.