
October 18th, 2004, 12:51 PM
|
|
The Monk that is Fat.
|
|
Join Date: Nov 2003
Location: UK
Posts: 72
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
|