Get your location such as city, region or country.
How to Install?
- Download and extract zip.
- Download IP-COUNTRY-SAMPLE.BIN or other Database in http://lite.ip2location.com.
- Have fun!
Note:
If You download other Database change line 15, at index.php
$loc = new IP2Location('your database', IP2Location::FILE_IO);
change "your database" with Your Database.