PEAK XOOPS - Re: Ban IP when accessing a web page in englishin japanese

Re: Ban IP when accessing a web page

List posts in the topic

question Re: Ban IP when accessing a web page

msg# 1.1.1.1.2.1
depth:
5
Previous post - Next post | Parent - Children.1 | Posted on 2006/8/10 6:10
GIJOE  Gunnery Sergeant   Posts: 4110
OK.
try this.

include '../../mainfile.php' ;

require_once( XOOPS_ROOT_PATH . '/modules/protector/class/protector.php' ) ;
$db =& Database::getInstance() ;
$protector =& Protector::getInstance( $db->conn ) ;
$conf = $protector->getConf() ;
$protector->output_log( 'Ban by trap' ) ;
$protector->register_bad_ips() ;
Votes:4 Average:5.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!