I.P geographic location script
Moderator: General Moderators
I.P geographic location script
Hi not sure if this is the right forum to post this question but it is php related.
I have a php script that uses a users IP address to determine whether they come from UK, USA or other country
The problem that I am having is that some users in the uK are being seen as coming from the USA.
What is the reason behind this and can this be solved??
I have heared some uk users maybe using US ISP's, could this be the case?
thanks in advance
I have a php script that uses a users IP address to determine whether they come from UK, USA or other country
The problem that I am having is that some users in the uK are being seen as coming from the USA.
What is the reason behind this and can this be solved??
I have heared some uk users maybe using US ISP's, could this be the case?
thanks in advance
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
astions wrote:Ask them?
Code: Select all
<form method="post" action="location.php">
What is your location?
<input type="text" name="location" />
</form>- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Code: Select all
<form method="post" action="location.php">
What is your location? And remember, this is for posterity's sake, so please be honest.
<input type="text" name="location" />
</form>