You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*This is the official release maintained by IP2Location.com*
6
+
5
7
This PHP module provides fast lookup of country, region, city, latitude, longitude, ZIP code, time zone, ISP, domain name, connection speed, IDD code, area code, weather station code, weather station name, MNC, MCC, mobile brand, elevation, and usage type from IP address by using IP2Location database. This module uses a file based database available at IP2Location.com.
6
8
7
9
This module can be used in many types of projects such as:
8
10
9
-
1) select the geographically closest mirror
10
-
2) analyze your web server logs to determine the countries of your visitors
11
-
3) credit card fraud detection
12
-
4) software export controls
13
-
5) display native language and currency
14
-
6) prevent password sharing and abuse of service
15
-
7) geotargeting in advertisement
11
+
1. select the geographically closest mirror
12
+
2. analyze your web server logs to determine the countries of your visitors
13
+
3. credit card fraud detection
14
+
4. software export controls
15
+
5. display native language and currency
16
+
6. prevent password sharing and abuse of service
17
+
7. geotargeting in advertisement
16
18
17
19
The database will be updated in monthly basis for the greater accuracy. Free sample database is available at /samples directory or download it from http://www.ip2location.com/developers.
18
20
@@ -22,10 +24,10 @@ The complete database is available at http://www.ip2location.com under Premium s
22
24
INSTALLATION
23
25
24
26
To install this module, unzip the package and copy the following files to your web folder.
25
-
i) IP2Location.php
26
-
ii) example.php
27
-
iii) databases/IP-COUNTRY-SAMPLE.BIN
28
-
iv) databases/IPV6-COUNTRY-SAMPLE.BIN
27
+
* IP2Location.php
28
+
* example.php
29
+
* databases/IP-COUNTRY-SAMPLE.BIN
30
+
* databases/IPV6-COUNTRY-SAMPLE.BIN
29
31
30
32
To test this installation, please browse example.php using web browser.
0 commit comments