thatrenowned
MIS
I want to create a basic voting system on my flash site where the user chooses either 'Yes' or 'No'. This is then stored somewhere so that they can view a statistics page where it'll say how many Yes's and No's theres been.
Also, I want them to only be able to vote once. Some ideas I had are:
* Have each button write something into a text file, e.g. Click on 'Yes' and '1' is added to yes.txt . Can flash then work out how many lines have been filled in and display something like "Yes = 10 votes"?
* Create a cookie or something after voting, and if this cookie is detected, they can't vote again?
If you need any more info, let me know.
Thanks
Also, I want them to only be able to vote once. Some ideas I had are:
* Have each button write something into a text file, e.g. Click on 'Yes' and '1' is added to yes.txt . Can flash then work out how many lines have been filled in and display something like "Yes = 10 votes"?
* Create a cookie or something after voting, and if this cookie is detected, they can't vote again?
If you need any more info, let me know.
Thanks