Poll - a poll taking CGI script

Poll is pretty cool. It was designed to work in a similar way to CNN's (now closed) Quick Polls.

features:-

Setting it up

Get the source, ark-lib.pl and CGI.pm (from CPAN if you don't have it) and put them in your CGI directory.

Edit $dir in poll to point to one of your directories.

Create a file in that directory which will be the name of your poll (e.g. good). Add a line like this "Question: is this good?"

Create the HTML form which will use the poll....

<FORM METHOD=POST ACTION="/cgi-bin/poll/good">
<INPUT TYPE="submit" NAME="submit" VALUE="Yup">
<INPUT TYPE="submit" NAME="submit" VALUE="Nope">
</FORM>

<P><A HREF="/cgi-bin/poll/good">See results</A></P>

Easy isn't it?

Working Example

Is Alex's Poll script pretty cool or what?

See results

TO DO

Add an expiration line to say when the poll ends

If you can't get it working

Give up and use one of the free poll sites like this one..