RE: [PHP] Sorting users geographically...
| From: | Jim Moseby | Date: | Mon, 21 Nov 2005 14:34:17 +0000 |
| Subject: | RE: [PHP] Sorting users geographically... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-226197@lists.php.net to get a copy of this message | ||
>
> I'm helping a friend of mine build a matchmaking website, and
> we have a
> doozy of a problem to solve:
>
> What I need to do is two fold:
>
> #1 Collect whatever geographical information I need from each
> user to enable
> #2
> #2 Be able to run query's to find people NEAR (geographically) another
> person.
>
> Does anyone know of any commercial or free implementations of
> this? Is it
> primarily a database problem or is their some way (computationally) to
> compute the probable proximity of two zip codes?
>
> Hopefully someone responds to this with a Pear package that
> does exactly
> what I need! :) If that can't happen, then I'd appreciate any
> options you
> can think of.
>
http://sniptools.com/latitudeLongitude.php