cvs: php-master-web / mirrors.php

From: Date: Mon, 01 Oct 2001 20:38:01 +0000
Subject: cvs: php-master-web / mirrors.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-6807@lists.php.net to get a copy of this message
jimw Mon Oct 1 16:38:01 2001 EDT Modified files: /php-master-web mirrors.php Log: just copy the countries/languages arrays here temporarily. Index: php-master-web/mirrors.php diff -u php-master-web/mirrors.php:1.2 php-master-web/mirrors.php:1.3 --- php-master-web/mirrors.php:1.2 Mon Oct 1 15:55:42 2001 +++ php-master-web/mirrors.php Mon Oct 1 16:38:01 2001 @@ -1,6 +1,94 @@ <?php require 'cvs-auth.inc'; +# these are just here temporarily. they'll be in a database table eventually. +$COUNTRIES = array( + "au" => "Australia", + "at" => "Austria", + "be" => "Belgium", + "bg" => "Bulgaria", + "br" => "Brazil", + "ca" => "Canada", + "ch" => "Switzerland", + "cl" => "Chile", + "cn" => "China", + "cz" => "Czech Republic", + "de" => "Germany", + "dk" => "Denmark", + "ee" => "Estonia", + "es" => "Spain", + "fi" => "Finland", + "fr" => "France", + "gr" => "Greece", + "hk" => "China (Hong Kong)", + "hu" => "Hungary", + "id" => "Indonesia", + "ie" => "Ireland", + "il" => "Israel", + "it" => "Italy", + "jp" => "Japan", + "kr" => "Korea", + "li" => "Liechtenstein", + "lt" => "Lithuania", + "lv" => "Latvia", + "mx" => "Mexico", + "nl" => "Netherlands", + "no" => "Norway", + "nz" => "New Zealand", + "ph" => "Philippines", + "pl" => "Poland", + "pt" => "Portugal", + "ro" => "Romania", + "ru" => "Russian Federation", + "se" => "Sweden", + "sk" => "Slovakia", + "sg" => "Singapore", + "si" => "Slovenia", + "th" => "Thailand", + "tr" => "Turkey", + "tw" => "Taiwan", + "ua" => "Ukraine", + "uk" => "United Kingdom", + "us" => "United States", + "za" => "South Africa", + "xx" => "Other" +); + +# http://www.unicode.org/unicode/onlinedat/languages.html +$LANGUAGES = array( + 'en' => 'English', + 'pt_BR' => 'Brazilian Portuguese', + 'bg' => 'Bulgarian', + 'ca' => 'Catalan', + 'zh' => 'Chinese', + 'cs' => 'Czech', + 'da' => 'Danish', + 'nl' => 'Dutch', + 'fi' => 'Finnish', + 'fr' => 'French', + 'de' => 'German', + 'el' => 'Greek', + 'hu' => 'Hungarian', + 'in' => 'Indonesian', + 'it' => 'Italian', + 'ja' => 'Japanese', + 'kr' => 'Korean', # this should be 'ko'. its wrong in phpdoc. + 'lv' => 'Latvian', + 'no' => 'Norwegian', + 'pl' => 'Polish', + 'pt' => 'Portuguese', + 'ro' => 'Romanian', + 'ru' => 'Russian', + 'sk' => 'Slovak', + 'sl' => 'Slovenian', + 'es' => 'Spanish', + 'sv' => 'Swedish', + 'th' => 'Thai', + 'tr' => 'Turkish', + 'uk' => 'Ukranian', +); + + if (isset($save) && isset($user) && isset($pw)) { setcookie("MAGIC_COOKIE",base64_encode("$user:$pw"),time()+3600*24*12,'/','.php.net'); }

« previous php.mirrors (#6807) next »