2 responses to “How to write non-sucking voting script”

  1. Morten Skogly

    Good post! I agree that it is more important to make it easy for legit, real human voters to participate than to block bots!

    But I was wondering:
    Do you have any tips for writing php / sql that filters the votes in different ways. My script logs ip and time of course, and usually people behave very well, but on a recent project we had at least two automated bots working the vote for a while.

    I’m not sure what our filter should be, but perhaps we could allow 1 vote pr ip for every forth hour, but I don’t quite know how to write that as a select or combination of sql and php.

    Would love to get some input if you have the time…

    m.

Leave a Reply