home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
linuxmafia.com 2016
/
linuxmafia.com.tar
/
linuxmafia.com
/
jordan
/
wot-redirect.inc
< prev
next >
Wrap
Text File
|
2010-11-08
|
2KB
|
54 lines
<?
// Keep Leigh_Butler@paramount.com, leighdb@pacbell.net,
// leigh.butler@gmail.com in the loop on changes.
// seed with microseconds
function make_seed()
{
list($usec, $sec) = explode(' ', microtime());
return (float) $sec + ((float) $usec * 100000);
}
srand(make_seed());
// Pick a number from 0 to 20. Mirror is selected later based on value.
$randval = rand(0, 20);
// // Is the number between 0 and 6?
// if ($randval < 6)
// {
// // Alistair Young's <avatar@arkane.demon.co.uk>
// // <silicate@gmail.com> mirror
// // Replaces http://www.arkane-systems.net/faqs/WOTFAQ/
// $address = " http://www.siliconcerebrate.com/faqs/WOTFAQ/";
// header("Location: $address");
// }
// Is the number between 0 and 7?
if ($randval < 7)
{
// David Scotton's <dscotton@bantha.org> and Maggie Brazeau's
// <maggie_sedai@darkfriends.net> mirror
$address = "http://www.darkfriends.net/wheel/";
header("Location: $address");
}
// Is the number between 8 and 14?
else if ($randval < 14)
{
// Kate Nepveu's <knepveu@steelypips.org> mirror
$address = " http://www.steelypips.org/wot-tgs/";
header("Location: $address");
}
// Kate Nepveu's location was http://steelypips.org/wotfaq/ to 2010-11-08.
// If number is between 15 and 20, stay at http://linuxmafia.com/jordan/.
//
// Discontinued mirrors -- don't use!
// // Jeff S. Dougan's <jffdougan@usawide.net> uneditable mirror,
// $address = "http://www.sit.wisc.edu/~jsdougan/wotfaq/";
// // Pam Korda's <kor2@midway.uchicago.edu> going-away mirror
// $address = "http://home.uchicago.edu/~kor2/WH_FAQ/";
// // Alistair Young's <avatar@arkane.demon.co.uk>
// // <silicate@gmail.com> original mirror
// $address = "http://www.arkane.demon.co.uk/WOTFAQ/";
//
// Unofficial mirror:
// // Nils Amlehn's <admin@amlehn.ch> mirror
// $address = "http://www.amlehn.ch/WoT/";
?>