basketmen Posted July 31, 2012 Share Posted July 31, 2012 Hi guys, how to do this in a php file Showing ads only to 20% percent of visitors. Or showing different ads to another 80% visitors any way that can work, maybe using time intervals, like the visitors that visit the site at minute 0-12 only that show it, and visitors that visit the site at minute 13-59 is not. Or another methode please help or share if you have, this should be easy enough and many people should need it, already googling it but still cant found it Quote Link to comment https://forums.phpfreaks.com/topic/266485-showing-ads-only-to-20-percent-of-visitors/ Share on other sites More sharing options...
Barand Posted July 31, 2012 Share Posted July 31, 2012 if (rand(1,5)==1) ... Quote Link to comment https://forums.phpfreaks.com/topic/266485-showing-ads-only-to-20-percent-of-visitors/#findComment-1365625 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.