RE: [PEAR-DEV] Package Proposal Services_IP2Country
| From: | Dave Mertens | Date: | Fri, 17 Oct 2003 14:33:36 +0000 |
| Subject: | RE: [PEAR-DEV] Package Proposal Services_IP2Country | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22768@lists.php.net to get a copy of this message | ||
>
> Well. NetGeo returns latitude and longtitude alongside with
> countrycode while the ip2country stuff is just a record
> from registries which tells to which country an ip address
> block has been registered.
So, Net_Geo is even returning more than just a country.
Well, the only thing you than need is to create a mapping for country code to name..
> > A side from that, what's the use of it? php.net is using this database
> > to redirect the user to a local mirror, but i guess you don't have
> > mirrors of you're site ;-)
>
> Lack of imagination :)
I could think of some implementations, but those aren't provided by this package.
If it would also return the native languages of that country and if possible also localization data
such as number and date format's than it would be useful.
But as it is now, it isn't very useful as i see it. It's just a class around a database
query..
But if you know any other uses for this, go ahead, tell me!
I'm very open minded, but I do not know everything ;-)
Regards,
Dave