holly9 Posted August 5, 2014 Share Posted August 5, 2014 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']; Quote Link to comment https://forums.phpfreaks.com/topic/290279-about-21-banner-exchange-sites-and-bots/ Share on other sites More sharing options...
trq Posted August 5, 2014 Share Posted August 5, 2014 Of course bots have ip addresses. 1 Quote Link to comment https://forums.phpfreaks.com/topic/290279-about-21-banner-exchange-sites-and-bots/#findComment-1486884 Share on other sites More sharing options...
Solution CroNiX Posted August 6, 2014 Solution Share Posted August 6, 2014 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. 1 Quote Link to comment https://forums.phpfreaks.com/topic/290279-about-21-banner-exchange-sites-and-bots/#findComment-1486944 Share on other sites More sharing options...
holly9 Posted August 28, 2014 Author Share Posted August 28, 2014 Thanks everyone for your help . Quote Link to comment https://forums.phpfreaks.com/topic/290279-about-21-banner-exchange-sites-and-bots/#findComment-1489207 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.