1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Donation with Paypal!!!

    Go to your paypal account and send directly donation to [email protected]

    1 month - 10 $ - Standart VIP

    6 months - 20 $- Standart VIP

    1 year - 30 $- Standart VIP

    2 years - 50 $- Standart VIP

    Gold member for life - 150 $- Standart VIP

    High Vip (Standart VIP include) group please send PM or email to [email protected] for info

    After Donation please send email to [email protected]

  3. Donation Ways 2020


    Paysend
  4. Telegram

  5. Delphifan Magazine
Dismiss Notice

Donation with Paypal!!!

Go to your paypal account and send directly donation to [email protected]

1 month - 10 $ - Standart VIP

6 months - 20 $- Standart VIP

1 year - 30 $- Standart VIP

2 years - 50 $- Standart VIP

Gold member for life - 150 $- Standart VIP

High Vip (Standart VIP include) group please send PM or email to [email protected] for info

After Donation please send email to [email protected]

Dismiss Notice
For open hidden message no need write thanks, thank etc. Enough is click to like button on right side of thread.

[Ask] IP to city with time zone ?

Discussion in 'Delphi Programming' started by Alex8000, May 23, 2014.

  1. Alex8000
    Online

    Alex8000 Guest

    On web,
    http://dev.maxmind.com/geoip/geoip2/downloadable/#MaxMind_APIs

    I can get the ip to country and ip to city database.
    For CSV format, its too sizable.
    For binary, I don't know the format, and there isn't Delphi/Pascal API.
    So, who can help? I guess some people would done it before because that is a common function programmer need.
    [hr]
    I have simply work as ip to country by csv data file.
    But need to know whats the web-client side as the date and hour.
    The CSV of ip to city around 170MB.
    Using google API is not a way.
    Hope there also have pascal API on.
     
  2. Alex8000
    Online

    Alex8000 Guest

    I have a concept but without knowledge to do it.
    An API with IP2city database. For Server side, check incoming "Real IP" and proxy info if have. Then report which country, city, time zone, current datetime or another info. So Server side program can control which content the user can be accessed.

    There have two problem for me. One is real IP over transparent proxy. another is ip2city database binary format. If database have longitude-latitude, that can point on map and calculate distance from server.


    Yes, that google map can do as a part only.
     

Share This Page