Script Garage

 

How to find Geographical location for a particular IP address using PHP script?

Hi all, I want to know how to find geographical location for a particular IP address using PHP script. I want to place adds in my developing site according to geographical location. Some body help me out.

Public Comments

  1. If you want a free PHP script then you can get ones that give you the country based on IP address: http://www.hotscripts.com/Detailed/54660.html You can purchase PHP scripts which give you more accurate information if you really need it: http://www.phplocation.com/ One alternative worth considering is using a free database lookup engine which only requres cutting and pasting this HTML code onto your website : http://www.ipligence.com/geolocation/
Powered by Yahoo! Answers