Welcome to WebmasterWorld Guest from 23.22.46.195

Forum Moderators: coopster & jatar k

Visitor Location by IP

Script/Service Suggestions

   
7:29 pm on Jul 7, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi everyone,

A client of mine has requested a script to be placed on their website that displays relevant information depending on the location of the visitor (CAD pricing for Canadians and USD for US visitors).

Has anyone dealt with a similar solution? I'm assuming there is a service out there that I can tie in a PHP script to check their IP for their location. The script will then tell the website what pricing to display.

Any ideas? :)

Thanks in advance for your help!

Wes

7:53 pm on Jul 7, 2008 (gmt 0)

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



By IP could be tricky due to proxy URL
You could try phpclasses.org that has a good geolocation class
4:26 pm on Jul 8, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks! I thought proxies could cause problems.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month