Ip2Country i s designed to determine the location of a user by detecting its IP. This PHP script can utilize Software77 IPToCountry database file, breaking it down into multiple smaller files for quicker access. the CSV was broke down into smaller byte-size PHP arrays. And IPs are now compared as floats not strings.
This is a PHP script to determine the location of a user based on his IP
- IpToCountry database file