コード例 #1
0
ファイル: class.IP.php プロジェクト: Q8HMA/BtiTracker-1.5.1
 public static function ip_match($allow, $ip)
 {
     if (strpos($allow, '*') === false && strpos($allow, '?') === false) {
         return self::net_match($ip, $allow);
     } else {
         return _string::glob_match($ip, $allow, true);
     }
 }