I am looking for a code that sorts out the visitors of a web page according to their ips. Example: I have a webpage: www.abc.com and there is one link inside that page, i want to sort out the visitors from certain countries when they click on that link so the visitors from USA, UK and other countries visitors i decide go to a page, and the other visitors from the rest countries go to another page that is different from the other one ( That appears to the USA and UK visitors ) Prefer a script that dose not need database for the ips. Please pm me.
If you use a script that does not need a database, it will rely on proven unreliable sources which means it is a pointless tool. That is why you will need a IP database so you can get the right IP for the right location and have much better converting. The most popular IP database (that's free) is Maxmind IP (they have a premium one which is more accurate and in-depth, but not necessary for your purpose). However, with IPv6 (alpha-numeric IP addresses) rolling out within the next year or two it's time to think about using a cheap temporary resource rather than the expensive ones.