IP to Country (and Currency) Test

Can you help me test a little script I'm writing to find a user's country (and the currency used there) based on their IP?

If you have a moment, click here to test the script and let me know if it got your country and currency right. (Sorry the page is such an eyesore, I don't have a UI yet.) Btw, you can either leave a comment here or email iptest AT flashant.org.

Thanks in advance! :)

Creative Commons LicenseThe IP to Country (and Currency) Test article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.

8 Responses to “IP to Country (and Currency) Test”


  1. 1 Duncan

    works a treat

  2. 2 Cesar Tardaguila

    It works for Spain

  3. 3 tanja

    works for slovenia :)

  4. 4 aral

    Thanks so much guys and gals… It’s great to know! :)

  5. 5 Tyran

    Works for England :)

    How have you constructed the script?

  6. 6 Peter

    Great job Aral, works a treat for Belgium :)

  7. 7 aral

    Hi Tyran, just replied to you in the email but repeating it here for the benefit of all:

    I used the IP-to-country database:
    http://ip-to-country.webhosting.info/

    … And combined it with published UN data on currencies.

    PS. Thanks for the feedback + thanks, Peter — good to know Belgium works! :)

  8. 8 Lawrence

    404.Oh.. just saw the date LOL

Leave a Reply






Bad Behavior has blocked 0 access attempts in the last 7 days.