Hacker News new | ask | show | jobs
by michaelhart 5757 days ago
That is possible, but when I was making this, I didn't want to use server-side technologies (php) because I wanted it to stay fast, which would have been necessary to determine your approximate location and get the GeoID prior to page generation.

It is easily possible, however, it just would have been soooo slow in comparison.

1 comments

Then don't use php... It's possible to grab user location via javascript, the client just needs a compatible browser. I'd say judging by the people who would stumble upon your project more than half would have a browser capable of grabbing location via javascript.