Lucee Function Reference
Function ISIPINRANGE
Checks if an ip is in the range of a list of given ips. IPv4 and IPv6 are supported.
Example
isipinrange(any ips,string ip):boolean
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
ips | any | Yes |
A comma separeted list of strings or a string array of ip defintions. The following patterns are allowed: |
ip | string | Yes | ip to search |