RE: POLLS for sites

by Klaas De Waele <klaas(at)grace.be>

 Date:  Mon, 13 Jan 2003 13:53:56 +0100
 To:  "'Scott Smith'" <wahikan(at)megapathdsl.net>,
HWG <hwg-techniques(at)mail.hwg.org>
  todo: View Thread, Original
Hi Scott,

Actually a good idea ;)

Here's an easy one you can 'view source' of - it's simple javascript
cookies, so probably fairly easy to bypass I guess - use in non-critical
applications only - if you know a tad of javascript you should be able to
see how it works:

http://www.fiatcoupe.net/action/action_polls.htm (two pages that check/set
the cookies: this page and the result page - feel free to vote 'yes';))

All is maintained manually in my case (I set the subject of the email to the
choice they make, so it's easy to 'count' in en email program that lets you
sort, select many mails and gives the number of mails selected.  Can be
automated in PHP/ASP/... though.

Here's my Forum: http://forum.fiatcoupe.net.  In it, I can post polls and if
someone votes, this vote is linked with their use profile, so unless they
register many names they can only vote once.  More reliable since it's
server based and good code.  Don't currently have an example running though.

I am planning on a voting system in PHP and ASP though, developing myself.
It's fairly easy, and I guess could be file-based and database-based
(textfile, mysql, access,...) so as to automatically generate results, get
access to the temporary results only if you've voted, set start and end
dates, and maybe even have multiple poll questions in one go.

We're currently working on a PHP translation of my ASP easy content manager
though, which could well be very interesting to get to maintain your site
and I will use it as a basis for my poll thingy (and bidding tool, shop,...)


- Kayjey -
www.fiatcoupe.net



-----Original Message-----
From: Scott Smith [mailto:wahikan(at)megapathdsl.net]
Sent: Monday, January 13, 2003 1:04 PM
To: HWG
Subject: RE: POLLS for sites


Perhaps you have some examples you wouldn't mind sharing with the group.
Thanks,

Scott

-----Original Message-----
From: owner-hwg-techniques(at)hwg.org
[mailto:owner-hwg-techniques(at)hwg.org]On Behalf Of Klaas De Waele
Sent: Monday, January 13, 2003 3:15 AM
To: 'cbirds'; HWG
Subject: RE: POLLS for sites


Generally I write such things myself, using cookies.  I also have
UBB.Threads running, which does the trick too for registered users, and
their voting behaviour gets stored in the database.

However, just remember there are ways around: clearing cookies, registering
multiple usernames, using different computers,...


- Kayjey -


-----Original Message-----
From: cbirds [mailto:cbirds(at)earthlink.net]
Sent: Sunday, January 12, 2003 4:50 PM
To: HWG
Subject: POLLS for sites


I am finding I am in need of a simple, 5-10 question poll for a site. I
could accomplish this with a form, but need to limit it to one vote per
person.

Anyone have a good no or low-cost solution for this?

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.