I want one page to redirect to another. I also want it to be a random URL from an array. But the tricky part is... that I want the referral to show that page. I tried this: <?php $url[0] = "xxxxxxxxxx"; $url[1] = "xxxxxxxxxx"; srand ((double)microtime()*1000000); $randomnum = rand(0, count($url)-1); header ("Location: $url[$randomnum]"); ?> Code (markup): This works but for the referral, it doesn't give this page (random.php)... instead, it gives the page that came before it. (the page that links to random.php) I also tried redirection via the meta tag. <meta http-equiv="refresh" content="2;url=xxxxxxxxxx"> Code (markup): Here, the problem was that the referral would end up being N/A. (i want the referral to come up as http://......../random.php) Any suggestions?