Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 18th, 2004, 12:51 PM
fatmonk fatmonk is offline
The Monk that is Fat.
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: UK
Posts: 72 fatmonk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 14 m 24 sec
Reputation Power: 5
Where are you browsing from?

I've ben pondering this for a while, and the only way I can think that it can be done is by using a big database of locations vs IP addresses...

Hmmm...

What I'd like to do is determine if someone browsing my site (www.GigPics.co.uk) is browsing from the UK or from outside the UK.

The reason for this is that the site has just gone 'global' (or rather I registered a .com address (www.ShootTheBand.com) a while ago and have decided to allow /any/ band photos from anywhere), and it therefore seems a bit restrictive to offer content from amazon.co.uk rather than amazon.com. I don'y, however, want to switch entirely to amazon.com as that would deny the majority of my (presumed) current audience.

Any ideas how I could determine this? Is there anyone provides that kind of database? If you go to google.com they automatically redirect you to you local version, depending on where you connect from, if one is available.. thats the kind of technology - but obviously I don;t have the google kind of infrastructure to do it.

Cheers,

Dan

PS. GigPics is a PHP project, so that's what I'd be programming it in...

Ta

Reply With Quote
  #2  
Old October 18th, 2004, 01:51 PM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 1 Week 6 Days 23 h 39 m 19 sec
Reputation Power: 92
This can easily be done and there are IP to country databases that you can use.

Google will return lots of results to tell you how to do this, but this may be a good place to start.
__________________
- Edwin -

The General Rules Thread | The General FAQ Thread

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Where are you browsing from?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway