Forums
This topic is locked
Retrieving visitors location(country)
Posted 07 Jul 2005 12:31:25
1
has voted
07 Jul 2005 12:31:25 stany berden posted:
Hi.How can get the visitors (who r on my site) location, if i have the visitors ip address??
R is the ip adress not the write way do make this work??
THX<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
Replies
Replied 08 Jul 2005 22:20:59
08 Jul 2005 22:20:59 Simon Martin replied:
I think you can use the LCID property www.w3schools.com/asp/prop_lcid.asp to establish what country they are in - or at least what country set up they have.
Live the life you love
Love the life you live
~ ~ ~ ~ ~ ~ ~
<b>Simon Martin</b> - <i>DMXzone Manager</i>
<font size=1>[ Dreamweaver MX/MX2004 | ASP | SQL | XHTML/CSS | Web Accessibility ] </font id=size1>
Live the life you love
Love the life you live
~ ~ ~ ~ ~ ~ ~
<b>Simon Martin</b> - <i>DMXzone Manager</i>
<font size=1>[ Dreamweaver MX/MX2004 | ASP | SQL | XHTML/CSS | Web Accessibility ] </font id=size1>
Replied 09 Jul 2005 00:29:34
09 Jul 2005 00:29:34 paul durbar replied:
No, the LCID is no good to get a users country. You need to refer to an up to date IP address database such as:
www.maxmind.com/app/web_services#city (this is a paid web service)
Or create your own DB using:
tinyurl.com/cbmmh
or
www.ip2location.com/IP-COUNTRY.HTM
Durbs
www.maxmind.com/app/web_services#city (this is a paid web service)
Or create your own DB using:
tinyurl.com/cbmmh
or
www.ip2location.com/IP-COUNTRY.HTM
Durbs
Replied 09 Jul 2005 01:25:50
09 Jul 2005 01:25:50 paul durbar replied:
Just remembered, one of the Paypal guys wrote one of the IP databases to MySQL:
www.paypaldev.org/topic.asp?TOPIC_ID=10095
D2 Sitelock v3.0
Sell and securely deliver downloads, paid subscription systems and website membership areas:
www.d2computing.co.uk/sitelock.htm
www.paypaldev.org/topic.asp?TOPIC_ID=10095
D2 Sitelock v3.0
Sell and securely deliver downloads, paid subscription systems and website membership areas:
www.d2computing.co.uk/sitelock.htm