hi this is the script im using to redirect traffic to my other sites but it doesnt work correctly please can someone help
$rand=rand(1,10);
if ($rand==1) {
$link_go='http://friend1.com';
}
else if ($rand==2) {
$link_go='http://friendy2.com';
}
header("Location: $link_go");
?>
$rand=rand(1,10);
if ($rand==1) {
$link_go='http://friend1.com';
}
else if ($rand==2) {
$link_go='http://friendy2.com';
}
header("Location: $link_go");
?>
Comment