This script generates and checks a turing number. A turing number is a security code the user has to read and copy in order to be able to validate a form. This avoids automated submissions by spambots. There is a version using a MySQL database, and another version that uses sessions.