adsense!

Discussion in 'AdSense' started by happybollywood, Jan 30, 2012.

  1. #1
    how to stop someone block some Ip address adn not click on ads?
     
    happybollywood, Jan 30, 2012 IP
  2. hill2001

    hill2001 Peon

    Messages:
    142
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can't. They could simply use another computer with a different IP.
     
    hill2001, Jan 30, 2012 IP
  3. happybollywood

    happybollywood Peon

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    but still blocking that IP only...how?
     
    happybollywood, Jan 30, 2012 IP
  4. nirajkum

    nirajkum Active Member

    Messages:
    815
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #4
    it can not be done you can block the website for that IP by editing .htaccess file
     
    nirajkum, Jan 30, 2012 IP
  5. earnnet

    earnnet Member

    Messages:
    100
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    26
    #5
    you can do it with php.

    <?php
    if($_SERVER['REMOTE_ADDR']!='100.100.100.100'){ ?>
    adsense ad code
    <?php } ?>

    where 100.100.100.100 is the ip you want to block.
     
    earnnet, Jan 31, 2012 IP