IsIPInRange()
Checks if an ip is in the range of a list of given ips. IPv4 and IPv6 are supported.
IsIPInRange( ips=any, ip=string );
Returns: Boolean
| Argument | Description |
|---|---|
|
ips
any,
required
|
edit
A comma separated list of strings or a string array of ip definitions. The following patterns are allowed:
|
|
ip
string,
required
|
edit
ip to search |
Examples
editThere are currently no examples for this function.
See also
- Decision logic
- IsIPv6()
- IsLocalHost()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)