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 Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.