Home
last modified time | relevance | path

Searched refs:ips (Results 1 – 11 of 11) sorted by relevance

/plugin/iptrust/
H A Dadmin.php45 if ($ips && (sizeof($ips) > 0)) {
46 if (in_array($ip."\n", $ips)) {
57 if ($ips && (sizeof($ips) > 0)) {
58 $count = sizeof($ips);
65 array_splice($ips, $i, 1);
72 if (sizeof($ips) < $count) {
84 if ($ips && (sizeof($ips) > 0)) {
113 if ($ips && (sizeof($ips) > 0)) {
114 usort($ips, array($this, 'sort_ip'));
124 foreach ($ips as $ip) {
[all …]
H A Daction.php44 $ips = @file(DOKU_CONF.'iptrust.conf', FILE_SKIP_EMPTY_LINES);
45 if (!$ips || !in_array($ip."\n", $ips)) {
54 $ips = @file(DOKU_CONF.'iptrust.conf', FILE_SKIP_EMPTY_LINES);
55 if (!$ips || !in_array($ip."\n", $ips)) {
/plugin/iptrust2/
H A Dadmin.php33 if ($ips && (sizeof($ips) > 0)) {
34 if (in_array($ip."\n", $ips)) {
45 if ($ips && (sizeof($ips) > 0)) {
46 $count = sizeof($ips);
53 array_splice($ips, $i, 1);
60 if (sizeof($ips) < $count) {
72 if ($ips && (sizeof($ips) > 0)) {
101 if ($ips && (sizeof($ips) > 0)) {
102 usort($ips, array($this, 'sort_ip'));
112 foreach ($ips as $ip) {
[all …]
H A Daction.php51 $ips = @file(DOKU_CONF.'iptrust.conf', FILE_SKIP_EMPTY_LINES);
52 if (!$ips || !in_array($ip."\n", $ips)) {
69 $ips = @file(DOKU_CONF.'iptrust.conf', FILE_SKIP_EMPTY_LINES);
70 if (!$ips || !in_array($ip."\n", $ips)) {
/plugin/tplmod/
H A Daction.php141 $ips = $this->getConf('ips');
142 $ips = trim($ips);
143 if(!empty($ips)) {
145 $ips = explode(',',$ips);
148 $ips = array();
197 function logos($ips,$remote_addr, $dateorip) { argument
218 for($i=0; $i<count($ips); $i++) {
252 for($i=0; $i<count($ips); $i++) {
253 $addr = trim($ips[$i]);
287 for($i=0; $i<count($ips); $i++) {
[all …]
/plugin/botbouncer/
H A Daction.php41 $ips = array();
43 $ips[] = $_SERVER['REMOTE_ADDR'];
45 $ips[] = $_SERVER['HTTP_X_FORWARDED_FOR'];
81 'ips' => $ips,
/plugin/quickstats/
H A Dsyntax.php26 private $ips; variable in syntax_plugin_quickstats
324 $this->ips = unserialize(io_readFile($this->ip_file,false));
325 if(!$this->ips) $this->ips = array();
335 $this->ips = unserialize(io_readFile($this->ip_file,false));
336 if(!$this->ips) $this->ips = array();
410 $uniq = $this->ips['uniq'];
411 unset($this->ips['uniq']);
412 $this->sort($this->ips);
416 $total_accesses = $this->table($this->ips,$renderer,true,true,true);
H A Daction.php31 private $ips; variable in action_plugin_quickstats
319 $this->ips = unserialize(io_readFile($this->ip_file,false));
320 if(!$this->ips) $this->ips = array();
327 io_saveFile($this->ip_file,serialize($this->ips));
434 $this->ips['uniq'] = 0;
442 if(!array_key_exists($ip, $this->ips)) {
443 $this->ips[$ip] = 0;
444 $this->ips['uniq'] = (!isset($this->ips['uniq'])) ? 1 : $this->ips['uniq'] += 1;
447 $this->ips[$ip] += 1;
453 $this->ips=array();
/plugin/abortlogin/
H A Dplugin.info.txt6 desc prevents attempt to login from non-accepted ips
H A DREADME.md4 Allowed ips are set in the Configuration Manager as a comma separated list
/plugin/botbouncer/lib/
H A Dmollom.php229 …ll, $authorUrl = null, $authorEmail = null, $authorOpenId = null, $authorId = null, $ips = array()) argument
249 if (!sizeof($ips)) {
252 $authorIp = $ips[0];