Just generate a random number from 1 to 3, then redirect to one of 3 sponsors depending on the number. Can be done in a few lines of PHP like below (or JavaScript). With enough traffic each should have about the same traffic in the end.
Quote:
$rnd = mt_rand(1,3);
switch ($rnd) {
case 1:
header("Location: https://sponsor1", true, 302);
break;
case 2:
header("Location: https://sponsor2", true, 302);
break;
case 3:
header("Location: https://sponsor3", true, 302);
break;
}
|