PHP Script Needed.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TonyL
    Confirmed User
    • Feb 2002
    • 900

    #1

    PHP Script Needed.

    Im looking for a script, preferably PHP that can take an IP and trace it back to it's geographical location. Im going to use it for fraud protection with our credit card gateway system.

    ICQ me or post here:

    28143495

    -Tony
  • - Jesus Christ -
    Confirmed User
    • Mar 2003
    • 7197

    #2
    You need latitude and longitude or just country.
    I could do either but installing lat. long. detection would reqire SSH access and i wouldnt be able to do either till tomarrow.

    Amen

    Comment

    • TonyL
      Confirmed User
      • Feb 2002
      • 900

      #3
      You can use IP to country databases. You simply convert the IP to an IP number then refrence the IP-to-country DB.

      Comment

      • swedguy
        Confirmed User
        • Jan 2002
        • 7981

        #4
        http://www.maxmind.com/app/country - MaxMind GeoIP country database
        http://www.maxmind.com/app/php - GeoIP PHP API
        http://www.maxmind.com/app/linux - The rest of the API's

        Comment

        Working...