Developer for Basic PHP Voting Script

  • Posted:
  • Proposals: 21
  • Remote
  • #42214
  • Archived
Andrew D.James M.Vit V.Luke S.Tim B. + 16 others have already sent a proposal.
  • 1

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.

New Proposal

Create an account now and send a proposal now to get this job.

Sign up

Clarification Board Ask a Question

    There are no clarification messages.