IPSet

IPSet is a PHP library for efficient matching of IP addresses against CIDR specifications.