Displaying 1 result from an estimated 1 matches for "jiangsong1".
Did you mean:
jiangdong
2008 Nov 27
3
How to parse info from an xml response
Hi all!
In my app I want to detect what country a visitor is viewing from by
their IP.
Although it''s by no means perfect, the simplest option I''ve found is
by using this site:
http://api.hostip.info/
by passing the ip address as a query, this site returns an xml file
with the country as one of the tags.
http://api.hostip.info/?ip=6.255.255.255 returns (amongst other
things)