<?php
$sites = array_map("trim", file("urls.txt"));
$redirect = $sites[array_rand($sites)];
echo "<meta http-equiv=\"refresh\"content=\"0;url=http://".$redirect."\">";
?>
http://www.tareeinternet.com/forum/free-scripts/2024-blank-referrer-double-meta-refresh.html#post3539
PHP:<? $urls[]='url1.com'; $urls[]='url2.com'; shuffle($urls); header("Location: ".$urls[0]); exit; ?>
<?php
$link[1] = "http://";
$link[2] = "http://";
$link[3] = "http://";
if (!isset($_COOKIE['link'])){
$n = count($link);
$rand = rand(1,$n);
setcookie("link", $rand, time()+3600);
header('location:'.$link[$rand]);
}else{
$go = $link[$_COOKIE['link']];
header('location:'.$go);
}
?>
i dont like cookies much, so I just write to a TXT file the number on my array and move forward from that for my rotation