| /dokuwiki/vendor/simplepie/simplepie/src/Net/ |
| H A D | IPv6.php | 38 * @param string $ip An IPv6 address 41 public static function uncompress(string $ip) argument 45 if (substr_count($ip, '::') === 1) { 46 [$ip1, $ip2] = explode('::', $ip); 62 $ip = '0:0:0:0:0:0:0:0'; 67 $ip = str_replace('::', $fill, $ip); 72 $ip = str_replace('::', $fill, $ip); 77 $ip = str_replace('::', $fill, $ip); 80 return $ip; 94 * @param string $ip An IPv6 address [all …]
|
| /dokuwiki/inc/Remote/Response/ |
| H A D | PageChange.php | 17 public $ip; variable in dokuwiki\\Remote\\Response\\PageChange 31 * @param string $ip 36 public function __construct($id, $revision, $author, $ip, $summary, $type, $sizechange) argument 41 $this->ip = $ip;
|
| H A D | MediaChange.php | 17 public $ip; variable in dokuwiki\\Remote\\Response\\MediaChange 31 * @param string $ip 36 public function __construct($id, $revision, $author, $ip, $summary, $type, $sizechange) argument 41 $this->ip = $ip;
|
| /dokuwiki/inc/ |
| H A D | Ip.php | 93 * @param string $ip The IPv4 or IPv6 address. 99 public static function ipToNumber(string $ip): array argument 101 $binary = inet_pton($ip); 104 throw new Exception('Invalid IP: ' . $ip); 135 * @param string $ip The address to test. 140 public static function ipMatches(string $ip, string $ipOrRange): bool argument 147 return Ip::ipToNumber($ip) === Ip::ipToNumber($ipOrRange); 150 return Ip::ipInRange($ip, $ipOrRange); 163 * @param string $ip The IP address of the proxy. 167 public static function proxyIsTrusted(string $ip): bool argument [all …]
|
| H A D | Mailer.class.php | 660 $ip = clientIP(); 661 $cip = gethostsbyaddrs($ip); 668 'IPADDRESS' => $ip, 687 'IPADDRESS' => '<code>' . hsc($ip) . '</code>',
|
| H A D | common.php | 872 foreach ($ips as $ip) { 873 $hosts[] = gethostbyaddr(trim($ip)); 909 [$ip, $session] = sexplode("\n", io_readFile($lock), 2); 910 if ($ip == $INPUT->server->str('REMOTE_USER') || (session_id() && $session === session_id())) { 914 return $ip; 957 @[$ip, $session] = explode("\n", io_readFile($lock)); 958 if ($ip == $INPUT->server->str('REMOTE_USER') || $session == session_id()) {
|
| H A D | auth.php | 377 $ip = clientIP(true); 379 $pip = inet_pton($ip);
|
| /dokuwiki/_test/tests/inc/ |
| H A D | IpTest.php | 50 * @param string $ip The IP address to convert. 60 public function test_ip_to_number(string $ip, int $version, $upper, $lower): void argument 62 $result = Ip::ipToNumber($ip); 114 * @param string $ip The IP to test. 120 public function test_ip_in_range(string $ip, string $range, bool $expected): void argument 122 $result = Ip::ipInRange($ip, $range); 159 * @param string $ip The IP to test. 165 public function test_ip_matches(string $ip, string $ipOrRange, bool $expected): void argument 167 $result = Ip::ipMatches($ip, $ipOrRange); 225 * @param string $ip The proxy IP to test. [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/ |
| H A D | X509.php | 1496 * @param string $ip 1499 public static function decodeIP($ip) argument 1501 return inet_ntop($ip); 1509 * @param string $ip 1512 public static function decodeNameConstraintIP($ip) argument 1514 $size = strlen($ip) >> 1; 1515 $mask = substr($ip, $size); 1516 $ip = substr($ip, 0, $size); 1517 return [inet_ntop($ip), inet_ntop($mask)]; 1525 * @param string|array $ip [all …]
|
| /dokuwiki/inc/Remote/ |
| H A D | LegacyApiCore.php | 498 'ip' => $revision->ip,
|