Lines Matching refs:ip
31 $ip = long2ip(ip2long($_REQUEST['ip']));
34 if (in_array($ip."\n", $ips)) {
39 io_saveFile(DOKU_CONF.'iptrust.conf', $ip."\n", true);
47 foreach ($_REQUEST['delete'] as $ip => $dummy) {
48 if (preg_match('/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/', $ip) &&
49 (ip2long($ip) !== false)) {
50 $ip = long2ip(ip2long($ip));
51 $i = array_search($ip."\n", $ips);
68 foreach ($_REQUEST['add'] as $ip => $dummy) {
69 if (preg_match('/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/', $ip) &&
70 (ip2long($ip) !== false)) {
71 $ip = long2ip(ip2long($ip));
73 if (in_array($ip."\n", $ips)) {
78 io_saveFile(DOKU_CONF.'iptrust.conf', $ip."\n", true);
112 foreach ($ips as $ip) {
113 $ip = rtrim($ip);
115 ptln("<td>".rtrim($ip)."</td>");
117 …ptln("<input type=\"submit\" name=\"delete[".$ip."]\" value=\"".$this->getLang('delete')."\" class…
159 list($user, $ip, $date) = explode("\t", $logins[$i]);
160 if ($ips && in_array($ip."\n", $ips)) {
164 ptln("<td>".$ip."</td>");
168 …ptln("<input type=\"submit\" name=\"add[".$ip."]\" value=\"".$this->getLang('add')."\" class=\"but…