<?php
$a = array(
"http://www.urlA.com",
"http://www.urlA.com",
"http://www.urlA.com",
"http://www.urlA.com",
"http://www.urlB.com",
);
header('Location: ' . $a[rand(0,count($a)-1)]);
?>
To clarify... you have 2 domains pointing to one host (one index.php), and you'd like to redirect the domains to a specific array of URLs?Is there a way to redirect a domain to one of a few URLs and specifiy the frequency of redirection? An example would be to have mydomain.com redirect to URL A 4/5 times and URL B 1/5 times?
Can the script itself not be shared?codefu*net i have it already, i can set you up an acc
codefu.net i have it already, i can set you up an acc
Can you set me up an account please?
Thanks