vote2.1.1/blue.gif 100644 764 144 1447 7174035732 12366 0 ustar andi users GIF89a 3 f 3 3 33 f3 3 3 f f 3f ff f f 3 f ̙ 3 f 3 f 3 33 3f 3 3 333 33333f333333f3 f33f3ff3f3f33 333f33̙33 333f3333 333f333 f f3 ff f f f3f 3f33ff3f3f3fff ff3ffffffffff f3ffff̙ff f3ffffff f3fffff 3 f 3 333f333f f3fffff 3f̙̙ ̙3̙f̙̙̙ 3f 3 f ̙ 3 333f3̙33f f3fff̙ff 3f̙̙ 3f̙ 3f̙ 3 f 3 333f333f f3fffff 3f̙ 3f 3f , H ; vote2.1.1/brown.gif 100644 764 144 1447 7174035733 12567 0 ustar andi users GIF89a 3 f 3 3 33 f3 3 3 f f 3f ff f f 3 f ̙ 3 f 3 f 3 33 3f 3 3 333 33333f333333f3 f33f3ff3f3f33 333f33̙33 333f3333 333f333 f f3 ff f f f3f 3f33ff3f3f3fff ff3ffffffffff f3ffff̙ff f3ffffff f3fffff 3 f 3 333f333f f3fffff 3f̙̙ ̙3̙f̙̙̙ 3f 3 f ̙ 3 333f3̙33f f3fff̙ff 3f̙̙ 3f̙ 3f̙ 3 f 3 333f333f f3fffff 3f̙ 3f 3f , H ; vote2.1.1/config.txt 100644 764 144 724 7250062711 12723 0 ustar andi users ***Example***
html_file: example.html
output_file: examp_out.html
log_file: examp_logfile.txt
ip_file: examp_ip.txt
already_voted_file: examp_voted.html
vote_url: xxx
checkIP: false
checkCookie: false
expiration: 200
replace_form: true
***Test***
html_file: test.html
output_file: test_out.html
log_file: test_logfile.txt
ip_file: test_ip.txt
already_voted_file: examp_voted.html
vote_url: xxx
checkIP: false
checkCookie: true
expiration: 1
replace_form: false
vote2.1.1/examp_ip.txt 100644 764 144 3 7174035735 13221 0 ustar andi users 0
vote2.1.1/examp_logfile.txt 100644 764 144 77 7250062623 14254 0 ustar andi users Total votes:14
0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0
0 0 0 0
0 0 0
vote2.1.1/examp_out.html 100644 764 144 6746 7250063204 13634 0 ustar andi users
Who will be the first human to set foot on the Mars? |
William M. Shephard |
$%a1;% |
$a1; |
Yuri P. Gidzenko |
$%a2;% |
$a2; |
George W. Bush |
$%a3;% |
$a3; |
Myself |
$%a4;% |
$a4; |
Nobody |
$%a5;% |
$a5; |
Saddam Hussein |
$%a6;% |
$a6; |
What is your favourite movie? |
Dancer in the Dark |
$%b1;% |
$b1; |
Aliens |
$%b2;% |
$b2; |
Titanic |
$%b3;% |
$b3; |
As Good As It Gets |
$%b4;% |
$b4; |
Hannibal |
$%b5;% |
$b5; |
Galaxy Quest |
$%b6;% |
$b6; |
Space Odyssey 2001 |
$%b7;% |
$b7; |
Eyes Wide Shut |
$%b8;% |
$b8; |
Pulp Fiction |
$%b9;% |
$b9; |
Enemy at the Gates |
$%b10;% |
$b10; |
Quills |
$%b11;% |
$b11; |
What is the best soap opera? |
East Enders |
$%c1;% |
$c1; |
Coronation Street |
$%c2;% |
$c2; |
Friends |
$%c3;% |
$c3; |
Big Brother |
$%c4;% |
$c4; |
What came first? |
Egg |
$%d1;% |
$d1; |
Chicken |
$%d2;% |
$d2; |
Frying pan |
$%d3;% |
$d3; |
Total: $tot; |
vote2.1.1/examp_voted.html 100644 764 144 2540 7250062027 14134 0 ustar andi users
Vote.pl : Example/Test : Voting Denied
Our log files show that you already have cast a vote. Please vote only once. Back
Vote.pl : Example/Test : Voting Denied
, Copyright 2000 by Atair
vote2.1.1/example.html 100644 764 144 6265 7250063413 13264 0 ustar andi users
Vote.pl : Example
This is the sample poll 'Example' for vote.pl. Please vote by pressing one of the buttons
and then click on 'Vote!' on the bottom of the form. To view the results
press the 'Result' button. Have fun!
Vote.pl : Demo
, Copyright 2000 by Atair
vote2.1.1/green.gif 100644 764 144 1447 7174035742 12540 0 ustar andi users GIF89a 3 f 3 3 33 f3 3 3 f f 3f ff f f 3 f ̙ 3 f 3 f 3 33 3f 3 3 333 33333f333333f3 f33f3ff3f3f33 333f33̙33 333f3333 333f333 f f3 ff f f f3f 3f33ff3f3f3fff ff3ffffffffff f3ffff̙ff f3ffffff f3fffff 3 f 3 333f333f f3fffff 3f̙̙ ̙3̙f̙̙̙ 3f 3 f ̙ 3 333f3̙33f f3fff̙ff 3f̙̙ 3f̙ 3f̙ 3 f 3 333f333f f3fffff 3f̙ 3f 3f , ! H ; vote2.1.1/readme.txt 100644 764 144 24362 7250062326 12761 0 ustar andi users VOTE.PL
Version 2.1.1
Released 18/10/2000
WWW: http://home.datacomm.ch/atair/perlscript/index.html
Email: atair@datacomm.ch
Copyright (c) 2000 A. Schnyder. All Rights Reserved.
##########################################################################
VOTE.PL README (for version 2.1.1)
##########################################################################
TABLE OF CONTENTS
1. Licensing
2. Description
3. Requirements
4. Setup Instructions
5. Changing Poll Interface Files
6. Changing Poll Result Files
7. Logfiles
8. Known Issues
9. Contact and Support Information
##########################################################################
1. LICENSING
##########################################################################
Vote.pl is free software. You can redistribute and modify it
freely without any consent of the developer (A. Schnyder), if and
only if the following conditions are met:
(a) The copyright info in the headers remains intact.
(b) The purpose of distribution or modification is
non commercial.
Commercial distribution of this product without a written
permission from A. Schnyder is strictly prohibited.
This script is provided without any warranty. The author does not
take any responsibility for any damage this script may cause.
2. DESCRIPTION
##########################################################################
Vote.pl is a web voting CGI script, that is highly adjustable to
your likings. The look of polling interfaces as well as of result
pages can be modified by use of html code, to integrate the poll
smoothly into the look and feel of your personal site. Vote.pl can
handle an unlimited number of polls on different pages. IP number
tracking and cookies prevent multiple votes from a single user.
Main Features:
* Highly configurable look
* View results graphically and/or numerically
* User tracking by IP no. and/or cookie prevents multiple
votes.
* Provides a maximum number of 23 questions per poll and 999
choices per question
* Handles several votings on different pages
3. REQUIREMENTS
##########################################################################
This version of Vote.pl is intended to work with Perl 5. It is
assumed that voters use cookie-enabled browsers, otherwise the
cookie tracking won't work. When properly installed Vote.pl should
run on UNIX and Windows NT/2000. However the author has only
tested it on a UNIX system. Of course a cgi-bin directory, a web
server, a computer, an internet connection, etc. are required as
well. ;-)
4. SETUP INSTRUCTIONS
##########################################################################
Steve Imhof has written a comprehensive guide to Vote.pl. (Thanks
fly out to him). If you are unexperienced with CGI, HTML and Perl,
I recommend you to read his guide instead of the below
instructions, since these are quite short and not intended for
newbies. The guide can be found at:
http://home.datacomm.ch/atair/perlscript/vote.pl_guide.html
It follows an instruction how to set up two sample polls, called
Example and Test, which come with this script. Afterwards you
should be able to adjust these examples to your own polls or
questionnaires.
1. After unzipping vote.zip, you should have the following files:
vote.pl - the Vote.pl script
config.txt - the configurations file
examp_ip.txt - the Example IP logfile
examp_logfile.txt - the Example logfile
examp_out.txt - the Example result file
examp_voted.html - the Example already voted
file
example.html - the Example interface file
readme.txt - this file
test.html - the Test interface file
test_ip.txt - the Test IP logfile
test_logfile.txt - the Test logfile
test_out.html - the Test result file
vote.jpg - jpg file
result.jpg - jpg file
black.gif
blue.gif
.
.
yellow.gif - gif files
2. Make sure the path to the Perl interpreter is correct at the
first line in vote.pl. Initially it is set to
#!/usr/bin/perl
If it is different on your server, you need to change it
accordingly.
3. Open the configurations file 'config.txt' using a text editor.
"***Example***"
This is the name of the first poll (here simply
called 'Example'). Needs not to be change. The
name of the polls must be between three asterisks.
"html_file: example.html"
...
...
"already_voted_file: examp_voted.html"
These lines specify the paths to the corresponding
files. You need not to change these either.
"vote_url": xxx
Specify the URL for vote.pl. This is the URL you
must use to execute the script.
"checkIP": false
Enable or disable IP tracking by setting this flag
true or false. Initially it is set to false.
"checkCookie": false
Enable or disable cookie tracking. The initial
value is false.
"expiration": 200
Specify the cookie expiration time in days.
Initially the cookie expires 200 days after it has
been sent to the user. This means, after 200 days
it is possible to vote a second time.
"replace_form": true
Enable or disable this feature with 'true' or
'false'. If it is enabled, the voting form will
be replaced by a results table after casting a
vote. Otherwise the results will be displayed on
a new page.
"***Test***"
Name of second poll. (In this case 'Test')
It follows the same configurations for the poll 'Test'.
Make same changes as above.
Similarly it would be possible to add a third poll, or
even a fourth, fifth, etc....
Simply write the name of a new poll on a new line (between
three asterisks) and add its configurations underneath.
4. Edit interface files using a text editor.
Open 'example.html', which belongs to the poll Example.