|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I am searching for a script that will detect the location (what country) where the visitor in connecting from so that I can do a redirect if they are from Canada vs if they are from the US. I need this script in both PHP and ASP. Thanks for any help!
__________________
http://www.freshfire.ca |
|
|||
|
http://www.maxmind.com/ They have the database of IP to country and examples of using it in just about any language you could want.
You will need to write some code that if Canada redirect here otherwise redirect to location 2 but that should be trivial. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2010 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |