Quote:
Originally Posted by Twistys Tim
Apparently the closest GFY user to me is 12 miles away -- which considering I can see porn alley from my window seems a bit odd....?
|
well i wont go into alot of detail about why ( because it reaks of my inability to code to proper standards ) but i made the script purposely ignore people in the exact same location as you ( so you dont detect yourself as being closest to yourself )
The person it detects as closest to you will always be > 1 mile away. the list of other people within 50 miles may include your own name because it may display people < 1 mile away. so there may be people closer to you than the person listed in the list below it. I know it sucks but hey i was coding like 15 other projects at the time, i did it for free and it is pretty damn cool nonetheless
another bug in the ointment is that i had to use 2 seperate geo databases , and that makes it a little buggy