homepage Welcome to WebmasterWorld Guest from 23.22.181.15
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library : Charter : Moderators: coopster & eelixduppy & jatar k

PHP Server Side Scripting Forum

    
Visitor Location by IP
Script/Service Suggestions
wfernley




msg:3692539
 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




msg:3692569
 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




msg:3693378
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved