public
Description: This extension only implement the API to have in Coppermine Gallery the possibility to block spammer's with data from "Project Honey Pot", you need get a key from "Project Honey Pot" website.
Homepage: http://tuxsoul.github.com/cpg-httpbl
Clone URL: git://github.com/tuxsoul/cpg-httpbl.git
Click here to lend your support to: cpg-httpbl and make a donation at www.pledgie.com !
cpg-httpbl / object.httpbl.php
100644 50 lines (42 sloc) 1.421 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/*
******************************************************************************
CPG-HttpBL Plugin
******************************************************************************
Author: Mario Oyorzabal Salgado
Blog: http://blog.tuxsoul.com/
E-mail: <tuxsoul@tuxsoul.com>
Web: http://code.google.com/p/cpg-dnsbl/
Donate: http://tinyurl.com/36mzoa
******************************************************************************
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
******************************************************************************
*/
 
// can't execute directly this file
// you are lost ?
if (!defined('HTTPBL_CWD')) {
die('You are lost ?');
}
 
// include config file
include (HTTPBL_CWD . '/config.httpbl.php');
 
// include core file
include (HTTPBL_CWD . '/core.httpbl.php');
 
// main class object
class objectHttpBL extends coreHttpBL
{
// load configuration
function httpbl () {
 
}
 
// start the search to spammer's
function httpblStart () {
$this->coreHttpBLStart();
}
 
// get url to trap
function httpblGetUrlTrap () {
return $this->coreHttpBLGetUrlTrap();
}
}
?>