DevShed has posted the next (and last) part of their series on image generation with PHP, creating a class to handle most of the work for you and implement the graphics functionality (GD) PHP has built in. This time, they take things a step further and use the class they've created so far to make CAPTCHA images for a site.
In this last article of the series I'm going to show you how to couple this class with a simple randomizer mechanism to implement a basic yet effective application that will be capable of outputting on the browser different random strings, which will be previously embedded into a predefined image stream.
They start with their previous version of the class and work off of it, extending its functionality to add a multi-call ability and to hook into a RandomGenerator class to create the string.