Lines Matching refs:ip
43 $ip = long2ip(ip2long($_REQUEST['ip']));
46 if (in_array($ip."\n", $ips)) {
51 io_saveFile(DOKU_CONF.'iptrust.conf', $ip."\n", true);
59 foreach ($_REQUEST['delete'] as $ip => $dummy) {
60 if (preg_match('/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/', $ip) &&
61 (ip2long($ip) !== false)) {
62 $ip = long2ip(ip2long($ip));
63 $i = array_search($ip."\n", $ips);
80 foreach ($_REQUEST['add'] as $ip => $dummy) {
81 if (preg_match('/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/', $ip) &&
82 (ip2long($ip) !== false)) {
83 $ip = long2ip(ip2long($ip));
85 if (in_array($ip."\n", $ips)) {
90 io_saveFile(DOKU_CONF.'iptrust.conf', $ip."\n", true);
124 foreach ($ips as $ip) {
125 $ip = rtrim($ip);
127 ptln("<td>".rtrim($ip)."</td>");
129 …ptln("<input type=\"submit\" name=\"delete[".$ip."]\" value=\"".$this->getLang('delete')."\" class…
171 list($user, $ip, $date) = explode("\t", $logins[$i]);
172 if ($ips && in_array($ip."\n", $ips)) {
176 ptln("<td>".$ip."</td>");
180 …ptln("<input type=\"submit\" name=\"add[".$ip."]\" value=\"".$this->getLang('add')."\" class=\"but…