Displaying Pages with IP address

Discussion in 'Programming' started by logon2future, Feb 6, 2008.

  1. #1
    can any one help me out in dispalying pages with IP address for diffrent countires


    plzz help me out
     
    logon2future, Feb 6, 2008 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do you mean showing different pages based on the users IP/ Country?

    If so you need to get hold of an IP to Country database and then on a new session get the users IP, look it up in the country from the db and then handle the pages as appropriate (redirect to the relevant country folder/ set the culture etc).

    Be aware that these arent fool proof methods particularly for people using computers in large corporations or using proxies as their gateway to the net may well be in a different country to themselves.
     
    AstarothSolutions, Feb 7, 2008 IP
  3. logon2future

    logon2future Notable Member

    Messages:
    1,354
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    235
    #3
    where can i get the IP/Country Database can you plzz Tell
     
    logon2future, Feb 8, 2008 IP
  4. daedal

    daedal Peon

    Messages:
    171
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    daedal, Feb 8, 2008 IP