I have a form. I'm using javascript to validate the form on the client side. onsubmit the form is sent to mySQL via php for collection. The form is a CONTEST FORM...so I only want ppl to be able to send the form in (enter/vote for the contest) ONCE per day. I was thinking of using a cookie to control this but then, i know they can just be erased...and if multiple ppl use ONE computer they can't enter (unless they delete the cookie)...so that seems like a TERRIBLE idea.
Can I? use server side validation to check an email address? (ie. only allow one submission per email address per day). if so, can you please point me in the direction of a tutorial or anything?
or is there a better way?
example of what i have.
http://www.wbsnightout.com/favoritecosmetologist/entryform
thanks,
paul
Can I? use server side validation to check an email address? (ie. only allow one submission per email address per day). if so, can you please point me in the direction of a tutorial or anything?
or is there a better way?
example of what i have.
http://www.wbsnightout.com/favoritecosmetologist/entryform
thanks,
paul