isIPInRange

Determines whether the given IP address is in a specific range

isIPInRange(ips, ip) → returns boolean

This function requires Lucee. Not supported on Adobe ColdFusion.

isIPInRange Argument Reference

ips any
Required

comma-delimited list or array as ip range, either a specific ip address, a from to range or with * wildcard

ip string
Required

ip to test

Fork me on GitHub