I have a application where users can vote for submission, and i want to make sure users dont spam it, how can i make this one vote per IP?
Code:
<script type="text/javascript">
var clicks2 = 0;
function linkClick2()
{
document.getElementById('clicked2').value = ++clicks2;
}
document.write('<a href="#" onclick="linkClick2()" class="vote_link">Vote for this Submission</a>');
</script>