Can You Give me your 5 minutes only

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
dhiraj
Forum Newbie
Posts: 12
Joined: Wed Apr 23, 2008 12:23 am

Can You Give me your 5 minutes only

Post by dhiraj »

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
User avatar
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

Post by Kieran Huggins »

User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Can You Give me your 5 minutes only

Post by pickle »

[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

Post by nowaydown1 »

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.
Post Reply