3rd Nov 2008 10:49pm
1,078 views | 0 comments
Flattr this

Well, I'm sick of spam bots hijacking my forms with all the hundreds of links that they automatically post, so I've just sat here and made a very simple - but effective - method of removing them. Basically every page you go to on dalehay.me now initiates a little PHP based function, which takes your IP address and tries and matches it within an array of many others, if it finds a match, you can't see the site. Simple as. So any spam... means a straight up ban. :)


Tweet ThisShare On FacebookShare On Google ReaderAdd To Del.icio.usShare On DiggShare On RedditShare On LinkedInShare On StumbleUpon

Tags: ip ban, php, spam


Post your comment...

Your Name:

Your Email:

Your Comment:

Are You Human?

Tick this box to confirm you're not a bot.

  • © Dale Hay, 2005 - 2016