Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
PHP class for stopforumspam.com API
PHP
Tree: d85c9e4d04

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
stopforumspam.php

README.md

StopForumSpam.com - PHP Lib

A PHP wrapper class for the API available at stopforumspam.com. An API key is required only for updating the spam database. Uses the JSON interface internally.

Examples

Check if user has been recorded as a spammer

$sfs = new StopForumSpam();
$args = array('email' => 'email@example.com', 'ip' => '192.168.1.1', 'username' => 'JohnDoe');
$spamcheck = $sfs->is_spammer( $args );

Get datailed data for suspected spammer

This is the data, as returned by StopForumSpam.com, without parsing.

$sfs = new StopForumSpam();
$args = array('email' => 'email@example.com', 'ip' => '192.168.1.1', 'username' => 'JohnDoe');
$user = $sfs->get( $args );

License

Licensend under the BSD 3-Clause License.

Something went wrong with that request. Please try again.