Forum Moderators: coopster

Message Too Old, No Replies

Finding user's location

maybe by matching gethostbyaddr() to a location?

         

ahmedtheking

9:53 am on Dec 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm trying to write a script that returns the user's location (i.e: Bob sitting at home (gethostbyaddr() = xx.xx.xx.xx.btsomething.com) somewhere in the UK.), but I a) can't find a php function or class and b) can't find how other people do it! Can anyone help?

jatar_k

6:21 pm on Dec 25, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I use these folks
[ip-to-country.webhosting.info...]

mysql and php code available on the site