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 / config.httpbl.php
100644 42 lines (35 sloc) 1.712 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
<?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.
******************************************************************************
*/
 
// you can't execute directly this file
// you are lost ?
if (!defined('HTTPBL_CWD')) {
die ('You are lost ?');
}
 
////////// Configuration
////////// You can edit all values ;-)
 
///// Key to access dnsbl service from "Project Honey Pot"
///// All Access Keys are 12-characters in length, lower case, and contain only alpha characters (no numbers)
///// You need a key ?, register here: http://www.projecthoneypot.org?rf=39586
define('HTTPBL_KEY', '------------');
 
////////// Url to honeypot trap for redirect malicious visitors
///// If you have install a trap or you can get this in "Project Honey Pot" -> "QuickLink"
///// This value is important to catch more spammers ;-)
define('HTTPBL_TRAP', '');
 
///// Is important change this value to any word, for have usefull url trap's
define('HTTPBL_TRAP_WORD', 'coppermine-gallery');
 
?>