Jump to content

About 2:1 banner exchange sites and bots


Go to solution Solved by CroNiX,

Recommended Posts

Hi, I making a banner exchange script. Members will have to place a banner code on their sites to make banners appear. Some members might cheat by using bots to refresh the page to gain impressions and to waste other members impressions so i wanted to know if bots have ip addresses? because i want to only give member impressions if their visitors have ip. What are the other things i can do to check if members are cheating?. Thanks

 

$ip=$_SERVER['REMOTE_ADDR'];

Link to comment
https://forums.phpfreaks.com/topic/290279-about-21-banner-exchange-sites-and-bots/
Share on other sites

  • Solution

To expand: everything on the internet has an ip address. That's how it works :)

 

There are several things you might be able to try as far as checking if members are cheating. None of them will work 100% of the time.

-Store IP and Useragent string in db. Only allow impression to count if they haven't visited before.

-Set a cookie that lasts for 6 months or something when visiting the impression page. Only count impressions that don't have the cookie present.

  • Like 1
  • 4 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.