PHP Script – Random redirects to sites

, ,

$sites = array(
‘http://www.google.com/’,
‘http://www.msn.com/’,
‘http://www.yahoo.com/’
)
header(‘Location: ‘.$sites[array_rand($sites)]);
die();

You can add your own websites. If you need help with any php code contact us



Comments are closed.