Developer for Basic PHP Voting Script
4922
$$
- Posted:
- Proposals: 19
- Remote
- #42214
- Archived
PHP, MVC, Codeigniter, Opencart, Wordpress, Magento, Laravel, Mysql, JQuery, Bootstrap, iOS, Android
London
510571134731123101113381113281102361085549405885816837938213876863
Description
Experience Level: Intermediate
My client is looking to set up a simple voting poll for their website with the following criteria. We are looking for a PHP-based solution.
1. User goes to the voting page. If the user has a cookie set within the 24 hour period of previously voting, they can not vote.
2. IF a user can vote, they are presented with a text box to enter their email and the radio buttons options for the vote. There should be client-side validation to at least check to make sure the email address is somewhat valid (so if the user enters \"asdfasdf\" it is rejected). Once the user enters their email address it should be stored in a cookie. The email address and voting results should be stored in the database, but FLAGGED as \"not validated\". An email should be kicked to the visitor requiring that they click on a link to \"make their vote count\". The database should be updated validating the email address and setting the \"vote\" as validated so that when results are eventually compiled, that these count.
3. The next time a visitor comes to vote, IF they do NOT have a cookie set AND the email address provided has already been validated, their vote should just count. A cookie should be set and checked for after the initial validation of the email so that a user - for convenience purposes - does not have to type in their email address when they return to vote on the following days.
Results should be dumped into a database or delimited file on the server for easy analysis. IP addresses should ideally be logged with the vote to monitor voting fraud.
1. User goes to the voting page. If the user has a cookie set within the 24 hour period of previously voting, they can not vote.
2. IF a user can vote, they are presented with a text box to enter their email and the radio buttons options for the vote. There should be client-side validation to at least check to make sure the email address is somewhat valid (so if the user enters \"asdfasdf\" it is rejected). Once the user enters their email address it should be stored in a cookie. The email address and voting results should be stored in the database, but FLAGGED as \"not validated\". An email should be kicked to the visitor requiring that they click on a link to \"make their vote count\". The database should be updated validating the email address and setting the \"vote\" as validated so that when results are eventually compiled, that these count.
3. The next time a visitor comes to vote, IF they do NOT have a cookie set AND the email address provided has already been validated, their vote should just count. A cookie should be set and checked for after the initial validation of the email so that a user - for convenience purposes - does not have to type in their email address when they return to vote on the following days.
Results should be dumped into a database or delimited file on the server for easy analysis. IP addresses should ideally be logged with the vote to monitor voting fraud.
Brian L.
0% (0)Projects Completed
-
Freelancers worked with
-
Projects awarded
0%
Last project
24 Apr 2024
United States
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies