| |
| | |

CodersClub

 Forgot password?
 Register
Search
Author: vot
Collapse the left

Tinyipdata translation

[Copy link]

 Russia

 Author| Post time: 2011-10-03 14:21
| Show all posts
I have prepared a trivial script that lookup the visitor IP and show the country.
Check, please!
http://codersclub.org/discuzx/ip2country.php

Post time: 2011-11-10 14:49
| Show all posts
This problem is too simple to be solved, just use your own ipdata (Which you handly coded) ;) Or using another open API for return IP location

 Russia

 Author| Post time: 2011-11-10 15:15
| Show all posts
I agree.
The previous suggested by me solution is not so good.
First of all, it is very slow.

I have found an another solution (like you are suggesting!) - it is using our own database, based on maxmind.com GeoIP database.
Now converting the database and checking...

After checking, I think to integrate the IP database with the international country database.
This will enable to display the visitor/member country in any selected language...

 Russia

 Author| Post time: 2011-11-12 20:04
| Show all posts
I have created a database for mapping IP to country!

The up-to-date IP info was get from maxmind.com.
The data is free, but accuracy is only about 95%.

Nevertheless, I think that 95% is quite enough for our goal!


Now looking, how to modify the code that used tinyipdata...

 Russia

 Author| Post time: 2011-11-19 18:05
| Show all posts
The problem is solved.
Test versions works ok here:


Will appear in the next repository revision.

To Do (later):
Make a multi-lingual country names...

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

 Author| Post time: 2011-11-19 19:32
| Show all posts
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-22 11:38 GMT+3 , Processed in 0.058573 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list