Newsletter Page

Battling spambots makes me implement reCAPTCHA and move my newsletter signup form to a dedicated page.

| News | 1 min read

Well, it didn't take long for those pesky spambots to find my newsletter signup form and flood my inbox with fake signups. Given that I'm only collecting email addresses (and stripping them) and not writing anything to a database, I really don't know what they are trying to achieve.

So, I've implemented a reCaptcha system in my PHP form signup handler. If you are interested in how this works, I posted a tutorial way back in 2014. Should've learnt my lesson back then.

I've also moved the form to the Newsletter page though mostly to keep my blog's index pages a little cleaner.

At some point I may implement a subscription verification system too but that's enough for today. I've got to drop my son off to kinder shortly and will spend the rest of the afternoon writing.

Read Cadoc's Contract