劉康民 > CGI-Vote-0.11 > CGI::Vote

Download:
CGI-Vote-0.11.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.11   Source  

NAME ^

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

SYNOPSIS ^

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

DESCRIPTION ^

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.

CONFIGURATION ^

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.

TODO ^

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 ^

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.

See <http://www.perl.com/perl/misc/Artistic.html>