Here's all you need to set up your own cheesy home-made CAPTCHA.

Be sure that PHP is compiled with gd2. This allows for creating graphics
on the fly. Compiling with gd2 is easy in FreeBSD. Just check off the 'gd2'
box on the configuration menu that the port brings up when you type 'make'
in /usr/ports/www/mod_php4.  If you're not running FreeBSD, I dunno. You're
on your own.

Edit etc/tt-config.php to reflect your database name, user, and password.
Pick a directory to hold the font files and put that in etc/tt-config.php,
then put it somewhere where tt.php and tt-make.php can find it.  

Copy the contents of the fonts directory to the place you defined above
in etc/tt-config.php.

Edit the 'urls' definition in db/turing.sql to change the id and
the URL that you want to put behind the CAPTCHA. The URL can be a
link or an email address.

Load the SQL file in db/tt.sql into MySQL.  Be sure to allow the
web user in 'tt-config.php' to have select access to the tables.

Put the tt.php and tt_make.php files into your web directory where you
want them. Put the 'bg.jpg' base image there, too, since tt_make.php 
uses this as a base background. You can change this image if you want,
but I've found that it has to be a relatively simple image, or the
colors get really ugly. You should be able to change the size if you
want. I originally made it with GIMP.

8 October, 2004
Stan Schwarz
stan@cosmo.pasadena.ca.us
