Searched refs:ips (Results 1 – 2 of 2) sorted by relevance
279 $ips = [];283 $ips[] = $INPUT->server->str('HTTP_' . $conf['client_ip_header']);287 $ips = array_merge($ips, Ip::forwardedFor());290 $ips[] = $INPUT->server->str('REMOTE_ADDR');293 $ips = array_filter($ips, static fn($ip) => filter_var($ip, FILTER_VALIDATE_IP));296 $ips = array_values(array_unique($ips));299 if (!$ips) {300 $ips[] = '0.0.0.0';303 return $ips;
858 * @param string $ips comma separated list of IP addresses863 function gethostsbyaddrs($ips) argument866 if (!$conf['dnslookups']) return $ips;869 $ips = explode(',', $ips);871 if (is_array($ips)) {872 foreach ($ips as $ip) {877 return gethostbyaddr(trim($ips));