1
I used setcookie("votados".$_POST['votacao'], 'yes', time()+86400*300);
on my local server and worked divinely well, but when climbing it does not work. Like, he was supposed to check whether the user has voted or not.
Could someone give me a little help?
if you want to allow people to vote only once to use a cookie may not be the best option, since the user can easily delete them.
– Gabriel Rodrigues