This module is a PHP module that enables the user to find the country, region, city, coordinates, zip code, ISP, domain name, timezone, connection speed, IDD code, area code, weather station code, weather station name, mobile, usage types, address type, IAB category, etc that any IP address or host name originates from.
new function get_cidr($ipAddr.
For example, calling get_cidr('91.200.12.233') returns '91.200.0.0/13'. Useful to setup .htaccess file with Apache2 against spam.