planetOzh
planetOzh ‐ a virtual .postcard from $me to myself();
Day: November 21, 2012
Code 2012/11/21 2 min read

Checking Domain Blacklists from Spamhaus, SURBL and URIBL in PHP

I've been speaking lately with folks from Spamhaus about anti spam measure in YOURLS and a YOURLS plugin for this. Currently the #1 result in Google for "spamhaus PHP" is a post on Lockergnome which gets it totally wrong and provides a script that does not work, so here is a PHP script that does work. This script checks a…

blacklistCodePHPSpam
Read more
Ozh : WordPress published author, maker of YOURLS, wine enthusiast and a metal head. Read more about me.

Recent Posts

Linux productivity
Shorties 2026/05/05
Reboot
Shorties 2026/05/03
WordCamp Paris slides: Unit Tests for WordPress plugins
WordPress 2015/01/26
Revisiting WordPress smilies in a pure CSS way
WordPress 2014/12/20
WordPress plugin banner as a .PSD
Plugins 2014/09/14

Topics

Shorties Web WordPress My Life Code Plugins Ahah Images PHP Cult Google planetOzh Stats Blogostuff Software sux0rz Spam CSS RSS Tips Linux Wordpress Theme WTF Useless Ego Javascript Music Review GMail Twitter

Subscribe

RSS feed
planetOzh p l a n e t
🄯 Ozh 2000 - 2026
About Archives RSS @ozh@Github@ozh@Mastodonozh.org