Forum Moderators: coopster
A cookie can be created with setcookie [ca.php.net] but if the user removes their cookies they can always vote again.
Are these users logged in when they vote? If so you could always store the fact that the user has already voted in your db.
Otherwise setcookie will do what you need.