Use file ip-lookup-v0.3.php
Files ip-lookup-v0.1.php and ip-lookup-v0.2.php are old!
IP lookup with PHP and using free API
read more: https://github.com/apilayer/freegeoip#readme
demo of this php script: http://tools.eti.pw/ip-lookup.php
Note: Keyless access to Google Maps Platform is deprecated since June 11th, 2018 Go to: https://cloud.google.com/maps-platform/maps/ and GET KEY ...