i m facing a problem i want to pick the country where from user browse the website, i mean suppose a user surf the site eg mysite.com from Englland then we want to trace the country you are(user name) browsing the site from country Englland and if we are browse the site from India then p[ick the country India and a msg You are browsing from the India. But how can any one help me out ......
Thanks in advance
Can You Give me your 5 minutes only
Moderator: General Moderators
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Re: Can You Give me your 5 minutes only
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
-
nowaydown1
- Forum Contributor
- Posts: 169
- Joined: Sun Apr 27, 2008 1:22 am
Re: Can You Give me your 5 minutes only
You may have a legitimate reason of why you prefer not to go this route, but why not just ask the user what country they're coming from? It would eliminate any possible errors with your geo-ip library. There's plenty of bigger sites out there that do this. UPS and Fedex both have country selection as their landing page.