Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 11-17-2004, 04:39 AM   #1
Billy T
Oops I did it again
 
Billy T's Avatar
 
Join Date: Oct 2001
Location: Melbourne
Posts: 8,579
Default get user location

Hey all

I'm looking for a way to get the users location using php

I can get their IP and country but have not found a good (preferably free) way of finding their town or city

Also, is it possible to do a whois search using php?

Thanks
__________________
Billy
Online Galleries
iPhone Safety App - iStaySafe
Free Flash Video Tutorials
Photo Website Template

Don't email or PM me questions...
Billy T is offline   Reply With Quote
Old 11-18-2004, 05:12 PM   #2
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

I'm sure you've checked out this one already...

IP2Location
$199 for the database(abit expensive, I think)
http://www.ip2location.com/
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 11-18-2004, 05:36 PM   #3
petefs
Fried Onions
 
petefs's Avatar
 
Join Date: Apr 2004
Location: Chicago, IL
Posts: 1,328
Send a message via AIM to petefs Send a message via MSN to petefs Send a message via Yahoo to petefs
Default

http://pear.php.net/ has a geographical IP lookup package available -- and it's free ^_^
petefs is offline   Reply With Quote
Old 11-19-2004, 12:42 AM   #4
Billy T
Oops I did it again
 
Billy T's Avatar
 
Join Date: Oct 2001
Location: Melbourne
Posts: 8,579
Default

looks like the pear package requires the purchase of a database as well (to look up cities anyway)

Thank you both
__________________
Billy
Online Galleries
iPhone Safety App - iStaySafe
Free Flash Video Tutorials
Photo Website Template

Don't email or PM me questions...
Billy T is offline   Reply With Quote
Old 11-19-2004, 03:45 PM   #5
freddycodes
Master of Nothing
 
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
Default

You are probably not going to find a free service to do that. BUt there are some cool pay services. Not too bad. If your client is paying.

http://www.geomonster.com/Products/W...s_IPServe.aspx
freddycodes is offline   Reply With Quote
Old 11-19-2004, 03:46 PM   #6
freddycodes
Master of Nothing
 
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
Default

Also the problem is most of the time the IP address look ups are entirely accurate to a city level.
freddycodes is offline   Reply With Quote
Old 11-19-2004, 10:18 PM   #7
Billy T
Oops I did it again
 
Billy T's Avatar
 
Join Date: Oct 2001
Location: Melbourne
Posts: 8,579
Default

thanks freddy. that service does not seem to supply city info - am I missing something? Also did you mean 'not entirely accurate'?
__________________
Billy
Online Galleries
iPhone Safety App - iStaySafe
Free Flash Video Tutorials
Photo Website Template

Don't email or PM me questions...
Billy T is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:14 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.