http://ipinfodb.com/ip_query.php?ip=
<cfhttp method="get"
URL="http://ipinfodb.com/ip_query.php?ip=#cgi.REMOTE_ADDR#" result="test" />
<cfset xmmm = xmlparse(test.filecontent)>
<cfset countrycode = xmmm.response.countrycode.xmltext>
<cfset countryname = xmmm.response.countryname.xmltext>
<cfset city = xmmm.response.city.xmltext>
<cfset zippostalcode =
xmmm.response.zippostalcode.xmltext>
<cfset latitude = xmmm.response.latitude.xmltext>
<cfset longitude = xmmm.response.longitude.xmltext>
<cfset gmtoffset = xmmm.response.gmtoffset.xmltext>
<cfset dstoffset = xmmm.response.dstoffset.xmltext>
<cfset regionname = xmmm.response.regionname.xmltext>
<cfset regioncode = xmmm.response.regioncode.xmltext>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328858
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4