Protecting your email address via SVG instead of JS
A nice technique to prevent simple bots from harvesting your email address.
Read more [rouninmedia.github.io]
Posts tagged with spam
A nice technique to prevent simple bots from harvesting your email address.
Read more [rouninmedia.github.io]
Jeffrey Way shares the strategies he uses to combat spam on the Laracasts forum.
Read more [laracasts.com]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"As a Laravel developer, this is the one newsletter I most look forward to. Freek has a talent for distilling packages or techniques down to something immediately useful - one tip can save you hours and even weeks. It's concise and practical and highly relevant."
When adding a form to a public site, there's a risk that spam bots will try to submit it with fake values. We recently released a new package, called laravel-honeypot, that can detect these spammy requests. How honeypots work The majority of spam bots are pretty dumb. You can thwart most of them by…
Let’s take a look at a PHP script used to send spam. These types of scripts run on servers all over the world and might give you some insight into a spammer’s dedication to annoy the hell out of you. ... One of the WordPress sites on a shared hosting web server I manage was infected by a spam script. Fortunately, the script was unable to do any real damage and was detected within half an hour of infection. I thought it would be fun to show you the script and dissect it, to find out exactly how these things work and make thousands of email administrators’ lives a living hell.https://jelleraaijmakers.nl/2016/04/dissecting-spammers-spam-script
Here's a great Laravel package if you want to use the no CAPTCHA reCATCHA that was introduced by Google last week:
https://github.com/anhskohbo/no-captcha
Personally I'd go for a honeypot before resorting to a recaptcha because a honeypot is invisible for users. Here's a good package by Maksim Surguy if you want to go that route: