Function cidr_match
check a IP is in the range of a subnet sample: cidr_match('192.168.1.55','192.168.1.0/24');
Located at
tools.lib.php
Parameters summary
string |
$ip |
|
string |
$range |
Return value summary
boolean
|
bool |
check a IP is in the range of a subnet sample: cidr_match('192.168.1.55','192.168.1.0/24');
string |
$ip |
|
string |
$range |
boolean
|
bool |