On Fri, Jan 13, 2012 at 5:38 PM, Nick Gleason <n.glea...@citysoft.com>wrote:

> So, the question is whether there are public databases that are available
> for this kind of thing.  Are there places where we can check IPs for
> country
> of origin without paying fees?
>

Depending on how many look ups you are going to be doing, you can use this
and funny thing is, the listing on the home page is incorrect but using
lookup it knows where I am.

Signups are free ipinfodb.com

And it's simple enough to sift through.

http://api.ipinfodb.com/v2/ip_query.php

    <cfhttp
        result="ipRequest"
        url="http://api.ipinfodb.com/v2/ip_query.php?key=<Signup and put
that key here>&ip=#CGI.REMOTE_ADDR#
        method="get"
        />


        <!--- Parse the XML response. --->
        <cfset ipInfo = xmlParse( ipRequest.fileContent ) />

<Response><Status>OK</Status><CountryCode>US</CountryCode><CountryName>United
States</CountryName><RegionCode>36</RegionCode><RegionName>New
York</RegionName><City>Saratoga
Springs</City><ZipPostalCode>12866</ZipPostalCode><Latitude></Latitude><Longitude></Longitude><Gmtoffset>0</Gmtoffset><Dstoffset>0</Dstoffset><TimezoneName/><Isdst/><Ip></Ip></Response>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349495
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to