Help me, redirect by IP

Discussion in 'Apache' started by huyhoa, Dec 2, 2006.

  1. #1
    I want make a web like google, when visitor comfrom ip range
    203.123.0.0 to 203.123.31.26 and 67.27.0.22 to 67.27.27.89 , homepage will automatically direct to abc.com.vn/abc.htm ( i mean abc.com.vn/abc.htm is my domain language by vietnamese) and other ip will automatically direct to abc.com.vn (abc.com.vn is my english website).

    I use this code:
    But now i want more ip range, like this:
    I think it hard to do, so can anyone can did it in php?
    I mean in index.php make a redirect, when visitor from the above ip then redirect to abc.com.vn/abc.htm
    And other, will redirect to abc.com.vn/home.php
     
    huyhoa, Dec 2, 2006 IP
  2. sukantab

    sukantab Well-Known Member

    Messages:
    2,075
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    110
    #2
    I can code this for you, but it will cost you. PM me if interested.
     
    sukantab, Dec 3, 2006 IP
  3. thuonghieu

    thuonghieu Peon

    Messages:
    105
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I am Vietnamese, free for you. :D
     
    thuonghieu, Dec 3, 2006 IP
  4. huyhoa

    huyhoa Active Member

    Messages:
    214
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    thương hiếu giúp với nào
     
    huyhoa, Jan 11, 2007 IP