in reply to How do you make on the fly images?

Use any of the various image modules (imagemagick, gd, pbm). Generate a random string, create an image, apply a random distortion effect (don't distort it so much that the human can't identify it), and there you go.

These are captchas (or something like that) that you are talking about. Bet if you google around, you will find someone has already made a module.

Good luck.