home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
linuxmafia.com 2016
/
linuxmafia.com.tar
/
linuxmafia.com
/
jordan
/
wot-redirect.inc-2004-01-06
< prev
next >
Wrap
Text File
|
2004-01-06
|
670b
|
33 lines
<?
// seed with microseconds
function make_seed()
{
list($usec, $sec) = explode(' ', microtime());
return (float) $sec + ((float) $usec * 100000);
}
srand(make_seed());
$randval = rand(0, 20);
if ($randval < 3)
{
$address = "http://www.arkane.demon.co.uk/WOTFAQ/";
header("Location: $address");
}
else if ($randval < 6)
{
$address = "http://www.sit.wisc.edu/~jsdougan/wotfaq/";
header("Location: $address");
}
else if ($randval < 9)
{
$address = "http://www.darkfriends.net/wheel/";
header("Location: $address");
}
else if ($randval < 12)
{
$address = "http://home.uchicago.edu/~kor2/WH_FAQ/";
header("Location: $address");
}
?>