mraza Posted May 10, 2010 Share Posted May 10, 2010 hi ! i wants to make a script which would be country based, lets say if visitor ip on my site is from UK he will see echo "you are coming from UK !"; if visitor is from US he will see echo "you are coming from US !"; if he is from other country they will see that message i will write for them, so is there any open source available? or any idea how can i complete this task, Thanks for help Link to comment https://forums.phpfreaks.com/topic/201294-country-based-script/ Share on other sites More sharing options...
kenrbnsn Posted May 10, 2010 Share Posted May 10, 2010 This site should get you what you want. Ken Link to comment https://forums.phpfreaks.com/topic/201294-country-based-script/#findComment-1056084 Share on other sites More sharing options...
teamatomic Posted May 10, 2010 Share Posted May 10, 2010 http://www.maxmind.com/app/ip-location This is the most accurate free one you will find and its faster than using an API. Then see this thread: http://www.phpfreaks.com/forums/index.php/topic,291710.msg1382042.html#msg1382042 HTH Teamatomic Link to comment https://forums.phpfreaks.com/topic/201294-country-based-script/#findComment-1056102 Share on other sites More sharing options...
mraza Posted May 10, 2010 Author Share Posted May 10, 2010 Thanks for help here i find one more http://www.phptutorial.info/iptocountry/the_script.html cheers Link to comment https://forums.phpfreaks.com/topic/201294-country-based-script/#findComment-1056114 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.