Thanks Tony! That works like a champ. -----Original Message----- From: Tony Bentley [mailto:[email protected]] Sent: Friday, December 04, 2009 11:47 AM To: cf-talk Subject: Re: Find city/state by IP Address?
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:328865 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

