PHPでIPv6か判定 PHP X Facebook はてブ Pocket LINE コピー 2018.11.242019.04.22 filter_var($_SERVER['REMOTE_ADDR'], FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) ? 'IPv6' : 'IPv4';
Comments