1
0
mirror of https://github.com/php/web-php.git synced 2026-03-30 11:12:09 +02:00
Files
archived-web-php/include/site.inc
1999-07-10 23:22:08 +00:00

125 lines
7.7 KiB
PHP

<?
/* Structure of MIRRORS array:
0 "country code",
1 "Mirror Name",
2 "filename prefix for hosting company graphic",
3 "url for hosting company",
4 flag for whether site is a full mirror (1) or just a download site (0), or just a placeholder (2),
5 flag for whether search engine works (1) or not (0) on the site
*/
$MIRRORS = array(
"http://au.php.net:81/" => array("au", "Flinders University of South Australia", "rcis", "http://www.nisu.flinders.edu.au/", 1, 1),
"http://at.php.net/" => array("at", "Goodie Domain Service", "gds", "http://gd.tuwien.ac.at/", 1, 0),
"http://br.php.net/" => array("br", "SST Internet", "sst", "http://www.sst.com.br/", 1, 0),
# "http://ca.php.net/" => array("ca", "Toronto", "bellasf", "http://www.bell.ca/", 1, 1),
"http://php.easydns.com/" => array("ca", "easyDNS", "easydns", "http://www.easydns.com/", 1, 0),
# "http://cl.php.net/" => array("cl", "Amerikanclaris Internet", "amerikanclaris", "http://wwww.amerikanclaris.com/", 1 ,0),
"http://www.php.cz/" => array("cz", "Inway", "inway1", "http://www.inway.cz/", 1 , 0),
"http://php3.globe.de/" => array("de", "@GLOBE GmbH", "globe", "http://www.globe.de/", 1, 0),
"http://www.php3.de/" => array("de", "Schlund + Partner", "schlund", "http://admin.schlund.de/s+p/count.phtml?BName=logo-schlund.gif&BLocation=(www.php3.de)&url=www.schlund.de", 1, 1),
"http://dk.php.net/" => array("dk", "B&oslash;rsen Online", "borsen", "http://www.borsen.dk/",1,0),
# "http://fi.php.net/" => array("fi", "Netlife Oy", "netlife", "http://www.netlife.fi/",1,0),
"http://fi.php.net/" => array("fi", "NIC Finland", "nic", "http://www.nic.fi/",1,0),
"http://fi2.php.net/" => array("fi", "NIC Finland", "nic", "http://www.nic.fi/",1,0),
"http://fr.php.net/" => array("fr", "L'Universit&eacute; Michel de Montaigne Bordeaux III","montaigne", "http://www-recherche.montaigne.u-bordeaux.fr/", 1, 0),
"http://id.php.net/" => array("id", "IndoGlobal","indog","http://www.indoglobal.com/",1,0),
"http://il.php.net/" => array("il", "Netvision", "netvision", "http://www.netvision.net.il/", 1, 1),
"http://php.netvision.net.il/" => array("il", "Netvision", "netvision", "http://www.netvision.net.il/", 0, 1),
"http://php.fmal.com/" => array("it", "STS", "sts", "http://sts.fmal.com/", 1, 0),
"http://it2.php.net/" => array("it", "Utility Line Italia S.r.l.", "utilina", "http://www.uli.it/", 1, 0),
"http://jp.php.net/" => array("jp", "HappySize, Inc.", "happy", "http://jp.gigahit.com/", 1, 1),
"http://kr.php.net/" => array("kr", "Kimm ACLab", "kimm", "http://aclab.kimm.re.kr/", 1, 0),
"http://lv.php.net/" => array("lv", "Police Department - Republic of Latvia", "police", "http://www.pd.gov.lv/", 1, 0),
"http://mx.php.net/" => array("mx", "Urbano.com.mx", "urbano", "http://web.urbano.com.mx/?in=php", 1, 0),
"http://nl.php.net/" => array("nl", "WEBtic Internet Consultancy", "webtic", "http://www.webtic.com/", 1, 0),
"http://php.nederland.net/" => array("nl", "Nederland.net", "nederlandnet", "http://www.nederland.net/", 1, 0),
"ftp://ftp.nederland.net/pub/php/" => array("nl", "Nederland.net", "nederlandnet", "http://www.nederland.net/", 1, 0),
"http://php.guardian.no/" => array("no", "Guardian Networks AS", "guardian", "http://www.guardian.no/", 0, 0),
"http://no.php.net/" => array("no", "Fast Search &amp; Transfer ASA", "fast", "http://www.fast.no/", 1, 0),
"ftp://no.php.net/pub/free/php/dist/" => array("no", "Fast Search &amp; Transfer ASA", "fast", "http://www.fast.no/", 1, 0),
# "http://nz.php.net/" => array("nz", "Manawatu Internet Services", "manawatu", "http://www.manawatu.net.nz/", 1,0),
"http://pl.php.net/" => array("pl", "TGR", "tgr", "http://www.tgr.com.pl/", 1, 0),
"http://pt.php.net/" => array("pt", "Telenet", "telenet", "http://www.telenet.pt/", 1, 1),
"http://ro.php.net/" => array("ro", "Politehnica University of Timisoara","upt", "http://www.utt.ro/",1,0),
"ftp://ftp.utt.ro/mirrors/php3/" => array("ro", "University of Timisoara","upt", "http://www.utt.ro/",1,0),
"http://ru.php.net/" => array("ru", "Direct Internet", "directnet", "http://www.dn.ru/", 1, 0),
# "http://sg.php.net/" => array("sg", "Com5 Productions", "comnet", "http://www.com5.net/", 1, 0),
"http://se.php.net/" => array("se", "Chalmers Lindholmen", "cl", "http://www.ios.chalmers.se/", 1, 1),
"http://sk.php.net/" => array("sk", "Isternet SR", "isternet", "http://www.isternet.sk/", 1, 0),
"http://es.php.net/" => array("es", "IBD Internet", "ibd", "http://www.ibd.es/",1,0),
"http://ch.php.net/" => array("ch", "Laboratoire de Bases de Donn&eacute;es", "lbd", "http://lbdwww.epfl.ch/" ,1 ,0),
"http://tr.php.net/" => array("tr", "Bilkent Sunsite", "sunsite", "http://sunsite.bilkent.edu.tr/", 1, 0),
"http://ua.php.net/" => array("ua", "PACOnet", "paco", "http://www.paco.net.ua/", 1, 0),
"ftp://ua.php.net/" => array("ua", "PACOnet", "paco", "http://www.paco.net.ua/", 1, 0),
"http://ua2.php.net/" => array("ua", "New Damage/Outline", "ndot", "http://www2.newdamage.com/", 1, 0),
"http://uk.php.net/" => array("uk", "Norwich", "squid", "http://www.netcom.co.uk/", 1, 1),
"ftp://uk.php.net/" => array("uk", "Norwich", "squid", "http://www.netcom.co.uk/", 1, 0),
"http://www.php.net/" => array("us", "chek.com", "chek", "http://www.chek.com/", 1, 1),
"http://us.php.net/" => array("us", "Circle Net", "besthost", "http://BestHost.net/", 1, 0),
"http://us4.php.net/" => array("us", "Adgrafix", "adgrafix", "http://www.adgrafix.com/info/hkind", 1, 0),
"http://beta.php.net/" => array("us", "chek.com", "chek", "http://www.chek.com/", 1, 1),
"http://bugs.php.net/" => array("us", "chek.com", "chek", "http://www.chek.com/", 2, 1),
"http://php.he.net/" => array("us", "Hurricane Electric", "hurricane", "http://he.net/", 1, 0),
# "http://php.calinet.com/" => array("us", "California Internet Connection", "calinet", "http://home.calinet.com/", 1, 0),
"http://za.php.net/" => array("za", "CSIR Mikomtek", "mikomtek", "http://www.mikom.csir.co.za/", 1, 0),
"" => array("xx", "Unknown", "none", "/", 1, 0)
);
$COUNTRIES = array(
"au" => "Australia",
"at" => "Austria",
"br" => "Brazil",
"ca" => "Canada",
"ch" => "Switzerland",
"cl" => "Chile",
"cz" => "Czech Republic",
"de" => "Germany",
"dk" => "Denmark",
"es" => "Spain",
"fi" => "Finland",
"fr" => "France",
"id" => "Indonesia",
"il" => "Israel",
"it" => "Italy",
"jp" => "Japan",
"kr" => "Korea",
"lv" => "Latvia",
"mx" => "Mexico",
"nl" => "Netherlands",
"no" => "Norway",
"nz" => "New Zealand",
"pl" => "Poland",
"pt" => "Portugal",
"ro" => "Romania",
"ru" => "Russian Federation",
"se" => "Sweden",
"sk" => "Slovakia",
"sg" => "Singapore",
"tr" => "Turkey",
"ua" => "Ukraine",
"uk" => "United Kingdom",
"us" => "United States",
"za" => "South Africa",
"xx" => "Other"
);
$MYSITE='http://'.getenv("SERVER_NAME").'/';
if (!isset($MIRRORS[$MYSITE])) {
$MIRRORS[$MYSITE] = array("xx", "Unknown", "none", $MYSITE, 1, 0);
}
# fix for non-standard port in Australian mirror
if(strstr($MYSITE,"au.php.net")) {
$MYSITE = ereg_replace("au.php.net", "au.php.net:81", $MYSITE);
}
if (!isset($MIRRORS[$MYSITE])) {
$MYSITE="";
include("badsite.php3");
exit;
}
?>