Forum Moderators: phranque

Message Too Old, No Replies

Code for the Visitor's Location

         

legend killer

2:03 am on Aug 27, 2006 (gmt 0)

10+ Year Member



Hello,

I am looking for a code for the Visitor's City and Province. For example, if the visitor comes from Toronto, Canada I would want that to appear on my webpage.

I realize this has to do with the IP address of the viewer. I am able to Get the IP but how should I make it to Put the City and Province?

Please help me, I would be greatful.

Thanks.

RonPK

8:51 am on Aug 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are several (paid) services out there that provide such services. Keywords are geotargetting and geolocation.

DanA

9:03 am on Aug 27, 2006 (gmt 0)

10+ Year Member



Free and paid services are not very reliable.
Look for ip-to-country or hostip for a list of available databases or services.