Is there a good way to match an IPv6 address to an IPv6 subnet using CIDR notation? What I am looking for is the IPv6 equivalent to this: Matching an IP to a CIDR mask in PH
Basically http://www.phpclasses.org/browse/file/70429.html
To use it, simply call
$cidr = new CIDR(); $cidr->match($ipv6, $ipv6_in_cidr);
Result is 'Good'.