If C++ is not the way you wish todo CGI try these resources instead.
tar -xvzf ceegeye-<version>
cd ceegeye-<version>
./configure
make
make install
where <version> is the latest version of ceegeye without the <> symbols.
This compiles and installs the library.
There are a few switches that can be used with the configure script
use the --with-html option to override the path to your web server document root. e.g. ./configure --with-html=/var/www/html use the --with-cgibin option to override the path to your cgi-bin directory. e.g. ./configure --with-cgibin=/usr/lib/cgi-bin to compile the demos --enable-demos must be passed to the configure script. e.g. ./configure --enable-demos to compile the mysql demo --enable-mysqldemo must be passed to the configure script. e.g. ./configure --enable-demos --enable-ajaxdemo use the --with-mysql option to override default mysql lib directory e.g. ./configure --with-mysql=/usr/local
To remove all debugging info/symbols
make strip
If the MySQL demo app is compiled the database will have to be created
for the demo cgi to use. To do this at the shell execute:
make createdb
and to remove the database
make dropdb
There is no user called here for mysql so the user logged in will need rights to mysql. if not add the user to the statements like this in the
Makefile:
createdb:
mysqladmin -u mysqluser -p create personnel
mysql -u mysqluser -p personnel < ceegeye/personnel.sql
How to use the library in your own code.
CGI specification:- CGI specs
email