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, etc.

isIPInRange Argument Reference

ips any

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

ip string

ip to test

Fork me on GitHub