Home > php-surblclient

php-surblclient

Php-surblclient is a project mainly written in PHP, it's free.

PHP Client for SURBL to validate Blacklisted URLs

PHP Client Library for the surbl.org blacklists

More details at: http://www.surbl.org/guidelines

Usage:

require_once('surblclient.php');

$url_c = new Blacklist("http://test.surbl.org");

if($url_c->spam_check) {
    echo "SPAM SPAM!";
}
else {
    echo "SAFE!";
}

This is ported from surblclient of Python. If you are looking for a Python SURBL Client: https://github.com/infixfilip/surblclient

Blogs:

PHP Client Library for the surbl.org blacklists

Contributors:

Abhinay Omkar <[email protected]>

Previous:ColorPortal