EZelect 0.1.0 review
DownloadEZelect is a PHP script useful for conducting Web-based elections for small organizations
|
|
EZelect is a PHP script useful for conducting Web-based elections for small organizations. EZelect is very simple and easy to use.
The script is originally written for and used in the 2005/2006 presidential election of Berkeley Chinese Students and Scholars Association (BCSSA).
Here are some key features of "EZelect":
No database needed. All information is stored in plain-text files
Works on Unix servers like Linux, Solaris
Authenticating voters by their email. Can be configured to allow votes from users with emails like @organization.org. One email address casts at most one vote.
Supports two types of elections, one letting each voter votes for one of multiple candidates, another letting each voter approve or dis-approve a single candidate. It should be easy to add more types of elections.
Outputs all votes in plain text file. Use of 'grep' to process the results should be enough in most cases.
Usage:
Customize the beginning part of ezelect.php to suit your needs.
Make sure the data dir ($datadir) exists and is writable by the web server process.
Make sure the local host has an MTA running on port 25.
Access index.html from your webserver to test the election.
Do some further customization and run the election!
Collect results in $datadir. Each file, named with the user's email address, records votes from the users. The only thing useful is the 1st line, which contains the *confirmed* vote from the user. A user can have at most one confirm vote. If the 1st line is '_ _', then the user didn't confirm any vote and should not be counted. A simple command to collect all results:
find . -type f -exec head -1 {} ;
EZelect 0.1.0 search tags