Call reference for country in GeoLite2 using PHP
问题 I'm trying to use the free MaxMind GeoLite2 code to be able to determine the country of a specific IP address. I am using the Composer-free method that was posted here: Get a localized name of the users city via Maxmind GeoLite2 Free I'm sure its incredibly simple, but I can't figure out how to actually pass an IP address and have it return the country. After the $reader = new Reader... line I have $place = $reader->country('##.###.##.###'); (where the #'s are actual IP address numbers) and