Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

PHP: How to Get a Users Geo Location?

Share this post!
 Vote this!

Every wonder how all of those dating ads know that you are looking for hot girls near (insert your city here)? Well if you are a complete nerd like me you probably ignored the hot girls and wondered: “How did they know where I live?”. There are a few simple ways to do this. Today I am going to show you how to GeoCode using MaxMind’s free version.
MaxMind offers a paid version of this script that probably offers much more functionality. For what I need though, the free database does the job. I checked the results via a few proxies and they matched the US city fine. more...

0 comments:

Post a Comment