Redirection according to IP

Discussion in 'PHP' started by enchance, May 15, 2008.

  1. #1
    I'm currently working on a multilingual site, for now it's just English but down the line my client mentioned they want to include other languages as well. How do I redirect users to the version of the site in their language depending on their location?

    I found this site online but I don't know whether it's good or not...
     
    enchance, May 15, 2008 IP
  2. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #2
    Barti1987, May 15, 2008 IP
  3. enchance

    enchance Peon

    Messages:
    109
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    enchance, May 15, 2008 IP
  4. kreoton

    kreoton Peon

    Messages:
    229
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    yes, i used it in one of my php application works great and fast
     
    kreoton, May 15, 2008 IP
  5. enchance

    enchance Peon

    Messages:
    109
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Is there a way to test it if it works? That'll mean using an IP from a different country...what do I need for that?
     
    enchance, May 16, 2008 IP
  6. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #6
    Use a web based proxy, or a HTTP one for that matter. Proxy dot org lists loads of web based proxies, with countries in square brackets.

    Jay
     
    jayshah, May 16, 2008 IP
  7. enchance

    enchance Peon

    Messages:
    109
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hehe, I don't understand this. Can someone give me directions on how to pretend I'm coming from Japan so I can test if I'll be redirected to the Japanese page of the site? :D
     
    enchance, May 17, 2008 IP
  8. allaboutgeo

    allaboutgeo Peon

    Messages:
    85
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
  9. nastynappy

    nastynappy Banned

    Messages:
    499
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #9
    nastynappy, May 17, 2008 IP