Lines Matching refs:ip
92 $ip = $_SERVER['REMOTE_ADDR'];
96 …if(in_array($ip, preg_split('/[\s,]+/', $this->getConf('tba_whitelist'), null, PREG_SPLIT_NO_EMPTY…
103 if(array_key_exists($ip, $this->blocked))
105 if($this->blocked[$ip] + $this->getConf('tba_block_time') > $time)
108 $this->_do_disable_login($ip, $this->blocked[$ip]);
115 unset($this->blocked[$ip]);
119 $ts = $this->users_tracker[$ip];
146 $this->users_tracker[$ip] = $ts;
150 $this->blocked[$ip] = $time + $this->getConf('tba_mean_time');
161 if(array_key_exists($ip, $this->blocked))
162 $this->_do_disable_login($ip, $this->blocked[$ip], true);
177 $ip = $_SERVER['REMOTE_ADDR'];
181 if(empty($this->users_tracker[$ip]))
182 $this->users_tracker[$ip] = array($time);
184 $this->users_tracker[$ip][] = $time;
238 protected function _do_disable_login($ip, $block_ts, $new = false) argument
244 …$text .= sprintf('<p>'.$this->getLang('page content').'</p>', $ip, strftime($conf['dformat'], $blo…
273 $body = str_replace('@IP@', $ip, $body);