Im making a simple script, but i want it so a user can only vote once per day using cookies.
Is there anywhere that tells me how to do this?
I want to keep it basic... So i could make it so, if the cookie is less than 24 hours old (or exists) then it wont perform a function, where as if it is older or does not exist, then it will perform a function, which can simply be:
$cookie="1"
or
$cookie="0"