Table of Contents

Overview

To begin with, I use the Couter program to display the current results of the voting. To prevent the voting statistics from being incremented every time they are displayed, I wrote a program sub that will take care of this. For the actual registration I use a CGI that uses a program add that increments the counter and directs the user back to the home page.

sub Program

The sub program is a very simple program. Here is the man page for it that gives you the best description. The package sub.tar.gz includes the source code. It includes a Makefile if you are running FreeBSD. It should work with any ANSI C compliant compiler though.

Theses are the files that are in the package:

add Program

The add program is very like the sub program. Here is a preformated man page for add. Instead of subtracting, it adds. The package add.tar.gz uses that same things as sub.

These are the files that are in the package:


Send comments to: gurney_j@resnet.uoregon.edu