Redirect foreign traffic script ?

Discussion in 'General Marketing' started by smile, Oct 9, 2006.

  1. #1
    anyone know a good one ? i wanna block traffic outside USA, but cant find a solution yet. anybody uses a realiable script ? where to buy one

    thank you very much for your help :)

    sincerely

    smily
     
    smile, Oct 9, 2006 IP
  2. coolsaint

    coolsaint Banned

    Messages:
    257
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Dear Smile,

    I have one. It is reliable and updated as well as there is a option to update often. I can sell the script to you. If you want Please Contact me via PM.

    My Messenger handles are Given Below. (Also in my Profile)

    Yahoo Messanger : pritthi2600
    MSN. : pritthi1980
    Gmail :
    Skypee : hagioteam

    Thanks.

    Coolsaint
     
    coolsaint, Oct 9, 2006 IP
  3. smile

    smile Peon

    Messages:
    323
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    anyone know ?
     
    smile, Oct 10, 2006 IP
  4. moso

    moso Peon

    Messages:
    103
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Do you have a dedicated server or a shared account?
    If you have a shared account, you can use an ip script. You take the ip and look into the database to see the country. The script and database is 1mb. You can make it even smaller if you want only the us IP's.
     
    moso, Oct 10, 2006 IP
  5. topaffiliateprogram

    topaffiliateprogram Peon

    Messages:
    469
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Script is a great solution with only one limitation . you cannot target migrated traffic ... lets say you want to display matrimonial website to indians your script will work fine for those who living in india ,, but it will fail for indians living in usa . and i think these scripts will cost you too ..

    one more simple solution is Display world map on index page and ask users to choose country . Or display option menu and ask visitors to select country and display page accordingly .
     
    topaffiliateprogram, Oct 10, 2006 IP
  6. moso

    moso Peon

    Messages:
    103
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Scripts are free or cheap. The reason for filtering is to provide the right advertising I think.
     
    moso, Oct 10, 2006 IP
  7. disgust

    disgust Guest

    Messages:
    2,417
    Likes Received:
    133
    Best Answers:
    0
    Trophy Points:
    0
    #7
    as others said, there are free scripts to do this. however, I would strongly advise against doing this.

    I run a downloads site. I make virtually no money from non-US/non-UK/non-Canadian visitors. however, they do add value to the site... they link to it, because it's a valuable service. they tell people about it. the visitors themselves may not be helping, but the people they send there? definitely helping.
     
    disgust, Oct 10, 2006 IP
  8. webbom

    webbom Well-Known Member

    Messages:
    971
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    170
    #8
    This is a small snip of code I use for US traffic. You have to install the geoip country database from here http://www.maxmind.com/app/geoip_country
    and ad a table with that data on your database.

    $ip=$_SERVER['REMOTE_ADDR'];
    $pieces=explode(".",$ip);
    $w=$pieces[0];
    $x=$pieces[1];
    $y=$pieces[2];
    $z=$pieces[3];
    
    
    $ipnum = (16777216*$w + 65536*$x + 256*$y + $z);
    $queryip1=mysql_query("Select * from geoip where $ipnum BETWEEN beginnum AND endnum");
    $rowip1=mysql_fetch_array($queryip1);
    
    if ($rowip1['country']=="US"){
    
    This is what is done if it is from the US
    
    }
    Code (markup):
    Hope it helps.
     
    webbom, Oct 10, 2006 IP
  9. smile

    smile Peon

    Messages:
    323
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #9
    hi thanks evreyone :)

    but is there a out of the box ready script for this ? i have my dedicated server

    thank you very much for your help

    smily
     
    smile, Oct 11, 2006 IP
  10. gamer

    gamer Peon

    Messages:
    331
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #10
    www. phptutorial. info/iptocountry/identification_of_specific_countries.html

    check this url.
     
    gamer, Oct 11, 2006 IP
  11. smile

    smile Peon

    Messages:
    323
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #11
    ah i see. thanks !
     
    smile, Oct 12, 2006 IP