Re: IP-2-Country
| From: | Gabor Hojtsy | Date: | Fri, 23 Jan 2004 19:56:40 +0000 |
| Subject: | Re: IP-2-Country | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-23141@lists.php.net to get a copy of this message | ||
Hi Craig!
I would suggest you refer to the ip-to-country.com site, from where we obtain the database and see the references and database download there...
Regards,
Gabor Hojtsy
Craig Walder wrote:
Hi, I was viewing the source of one of the pages the other day, and I downloaded the ip-2-country files. I set it up on a local server, and then also got some friends to visit it. I got the output returned by the functions, but I can't work out what country they're in. I searched in the ip-2-country.db file for the results stored in $recnum and $country but they just output things like: COUNTRY: 761 RECNUM: 3230 And COUNTRY: 55N RECNUM: 36266 And COUNTRY: 15A RECNUM: 39222 How do I work out what country these codes are in? I figured that as they are openly available to everyone visiting the site, there was no harm in downloading them. I just can't figure out how to find the country. I hope you can explain how to find the country referring to these codes. Craig Walder