how to redirect user based on country?

Discussion in 'PHP' started by tarun, May 19, 2008.

  1. #1
    i have website. i want that if my website is open from particular country then user should be redirect to that country page.

    for example user is from india then i want to redirect in.xxx.com
    if from pakistan then i want to recirect pk.xxx.com
    and defult is xxx.com

    want script in php.
     
    tarun, May 19, 2008 IP