homepage Welcome to WebmasterWorld Guest from 54.205.207.201
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Visitor Location by IP
Script/Service Suggestions
wfernley

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3692537 posted 7:29 pm on Jul 7, 2008 (gmt 0)

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

 

henry0

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



 
Msg#: 3692537 posted 7:53 pm on Jul 7, 2008 (gmt 0)

By IP could be tricky due to proxy URL
You could try phpclasses.org that has a good geolocation class

wfernley

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3692537 posted 4:26 pm on Jul 8, 2008 (gmt 0)

Thanks! I thought proxies could cause problems.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved