Newsletter Page

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

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.


There are no comments yet. Click the button below to start the conversation!

Article Details

Published in News


1 min read | 138 words

Share on:

Support my writing

Liked this article and want to support my site?

If you're an Amazon customer, please consider using one my affiliate links for the USA or UK Amazon stores.

Prefer another way to support my site?