I initially wrote this in Visual Basic 6.0 and was prompted to quickly modify it to run as a CGI written in C++.

The CGI
The main source file (it also uses CGI.hpp and CGI.cpp; a quickie class for managing simple data from a POST and GET CGI (IMPORTANT: This class will NOT handle multiple data with the same name!)).
The makefile.

If you have any questions or comments, I can be reached at koxenrider[at]sol[dash]biotech[dot]com.