This class can be used to determine the country of a given IP searching in an IP range database.
It accesses a SQL database that has a table with the countries associated to each known IP range.
The IP address to check is searched to determine which IP range it belongs. If its IP range is found, the class returns the associated country code.
The IP ranges database table can be populated with separate script from IP range file in CVS format that can be obtained from the IP to country service site.
|
|
| Name: |
phpIP2Country |
| Base name: |
phpip2country |
| Description: |
Determine the country of an IP in a database |
| Version: |
- |
| PHP version: |
- |
| License: |
GNU General Public License (GPL) |
| All time users: |
1169 users |
| All time rank: |
2832 |
| Week users: |
0 users |
| Week rank: |
2055  |
| |
|
| There are not enough user ratings to display for this class. |
| |
Packages needed by this class |
|
|
| Class |
Dependency |
Why it is needed |
| phpDB |
Required |
Communication with the Database |
| phpCSV |
Required |
Required to read the IP CSV Data feed |
| phpFile |
Required |
Used to access the filesystem |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| Link |
Description |
| IP Data |
The CSV file of the IP Address data that this class requires |
| Support Forum |
Forum for the discussion and support of phpIP2Country |
| |
Files |
|
|