Captcha Code

I’ve just finished my Captcha implementation in 113 lines of code. If your interested, you can test drive it and post your feedback.

I ran into a few interesting problems implementing real time image generation into a single script, most notably, garbage collection of stale images. However even with garbage collection the code ended up being smaller and quicker than spawning a second instance of the script with a dynamic URI for the actual image load.

For anyone thats interested in breaking Captchas, I would be interested in seeing how the images I generate stand up.


About this entry