Tagging-Archive: blocklist.de


Report Spam comments from WordPress to blocklist.de

The script wp-spamreport.php (as a download here in my git) reports at any time the spam comments of the last 48 hours to blocklist.de. It does not matter when a comment was marked as spam (manually or automatically by example Antispam Bee), but only that the comments are posted in […]


php-class for blocklist.de

I have developed a PHP class to call the API from blocklist.de. Reports can be created and sent in PHP. $log = $blocklist->create_http_log($ip, $date); $log .= “\n\n”.$blocklist->create_comment(‘Spam-Comment’, $comment, $mail); $report = $blocklist->send_report($ip, ‘badbots’, $log); The last entries are very easy to query: $last_added = $blocklist->get_last_added(‘-60s’); or $last_added = $blocklist->get_last_added(‘-1m’, ‘badbots’); […]