
CGI::Vote - A Template enhanced Vote CGI library.

Just download the script+template tarball and use vote.pl and admin.pl.

I found that there are very few free CGI that do with template, or they goes like a giant monster (like Slash), so I decide to write some, starting from this one.

After you install the Vote.pm, please fetch the main cgi script and templates from this url:
http://gugod.org/cgi-vote-bundle.tar.gz
You may find the script and templates from the CPAN tarball too, which is also useful.
Extract the tarball or copy the .pl,.css, templates/ and db/ files to a stand-alone directory, such as /usr/local/www/cgi-vote/. And please set environment variable CGI_VOTE_PATH to this path in your apache http.conf.
PerlSetupEnv On
PerlSetEnv CGI_VOTE_PATH /usr/local/www/cgi-vote
Also remember to add ExecCGI options to that dir.
<Directory /usr/local/www/cgi-vote>
Options ExecCGI Includes Indexes FollowSymLinks
</Directory>
Make sure you make the cgi-vote/db directory writable to the httpd daemon.

Currently this CGI doesn't aware of session, which should be a very important thing.
The other is that I'm wondering if I should add user authentication.

Copyright 2003 by Kang-min Liu <gugod@gugod.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.