<?php
srand((float) microtime() * 10000000);
$input = array("http://www.firstsite.com",
"http://www.secondtsite.com",
"http://www.thirdsite.come"
);
$rand_keys = array_rand($input, 2);
$link = $input[$rand_keys[0]] ;
header("Location: $link");
?>