country list

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
Vantuykom
Forum Newbie
Posts: 19
Joined: Fri Jul 04, 2003 6:22 am

country list

Post by Vantuykom »

Hi,
can anyone tell me where I can find a list of countries used for a select?
thanx
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

I used the one from yahoo.com - when you register for something with them, you'll have to pick a country.

A more authoritative list, I suppose, is to be had from the UN.
User avatar
daven
Forum Contributor
Posts: 332
Joined: Tue Dec 17, 2002 1:29 pm
Location: Gaithersburg, MD
Contact:

Post by daven »

Here is a decent list. Not authoritative, but has lots;

AL Albania
DZ Algeria
AS American Samoa
AD Andorra
AI Anguilla
AG Antigua & Barbuda
AR Argentina
AW Aruba
AU Australia
AT Austria
AP Azores
BS Bahamas
BH Bahrain
BD Bangladesh
BB Barbados
BE Belgium
BZ Belize
BY Belarus
BJ Benin
BM Bermuda
BO Bolivia
BL Bonaire
BW Botswana
BR Brazil
VG British Virgin Islands
BN Brunei
BG Bulgaria
BF Burkina Faso
BI Burundi
KH Cambodia
CM Cameroon
CA Canada
CE Canary Islands
CV Cape Verde Islands
KY Cayman Islands
CF Central African Republic
TD Chad
NN Channel Islands
CL Chile
CN China, Peoples Republic of
CO Colombia
CG Congo
CK Cook Islands
CR Costa Rica
HR Croatia
CB Curacao
CY Cyprus
CZ Czech Republic
DK Denmark
DJ Djibouti
DM Dominica
DO Dominican Republic
EC Ecuador
EG Egypt
SV El Salvador
EN England
GQ Equitorial Guinea
ER Eritrea
EE Estonia
ET Ethiopia
FO Faeroe Islands
FM Federated States of Micronesia
FJ Fiji
FI Finland
FR France
GF French Guiana
PF French Polynesia
GA Gabon
GM Gambia
GE Georgia
DE Germany
GH Ghana
GI Gibraltar
GR Greece
GL Greenland
GD Grenada
GP Guadeloupe
GU Guam
GT Guatemala
GN Guinea
GW Guinea-Bissau
GY Guyana
HT Haiti
HO Holland
HN Honduras
HK Hong Kong
HU Hungary
IS Iceland
IN India
ID Indonesia
IL Israel
IT Italy
CI Ivory Coast
JM Jamaica
JP Japan
JO Jordan
KZ Kazakhstan
KE Kenya
KI Kiribati
KO Kosrae
KW Kuwait
KG Kyrgyzstan
LA Laos
LV Latvia
LB Lebanon
LS Lesotho
LR Liberia
LI Liechtenstein
LT Lithuania
LU Luxembourg
MO Macau
MK Macedonia
MG Madagascar
ME Madeira
MW Malawi
MY Malaysia
MV Maldives
ML Mali
MT Malta
MH Marshall Islands
MQ Martinique
MR Mauritania
MU Mauritius
MX Mexico
MD Moldova
MC Monaco
MS Montserrat
MA Morocco
MZ Mozambique
MM Myanmar
NA Namibia
NP Nepal
NL Netherlands
AN Netherlands Antilles
NC New Caledonia
NZ New Zealand
NI Nicaragua
NE Niger
NG Nigeria
NF Norfolk Island
NB Northern Ireland
MP Northern Mariana Islands
NO Norway
OM Oman
PK Pakistan
PW Palau
PA Panama
PG Papua New Guinea
PY Paraguay
PE Peru
PH Philippines
PL Poland
PO Ponape
PT Portugal
PR Puerto Rico
QA Qatar
IE Republic of Ireland
YE Republic of Yemen
RE Reunion
RO Romania
RT Rota
RU Russia
RW Rwanda
SS Saba
SP Saipan
SA Saudi Arabia
SF Scotland
SN Senegal
SC Seychelles
SL Sierra Leone
SG Singapore
SK Slovakia
SI Slovenia
SB Solomon Islands
ZA South Africa
KR South Korea
ES Spain
LK Sri Lanka
NT St. Barthelemy
SW St. Christopher
SX St. Croix
EU St. Eustatius
UV St. John
KN St. Kitts & Nevis
LC St. Lucia
MB St. Maarten
TB St. Martin
VL St. Thomas
VC St. Vincent & the Grenadines
SD Sudan
SR Suriname
SZ Swaziland
SE Sweden
CH Switzerland
SY Syria
TA Tahiti
TW Taiwan
TJ Tajikistan
TZ Tanzania
TH Thailand
TI Tinian
TG Togo
TO Tonga
TL Tortola
TT Trinidad & Tobago
TU Truk
TN Tunisia
TR Turkey
TC Turks & Caicos Islands
TV Tuvalu
UG Uganda
UA Ukraine
UI Union Island
AE United Arab Emirates
GB United Kingdom
US United States
UY Uruguay
VI US Virgin Islands
UZ Uzbekistan
VU Vanuatu
VE Venezuela
VN Vietnam
VR Virgin Gorda
WK Wake Island
WL Wales
WF Wallis & Futuna Islands
WS Western Samoa
YA Yap
YE Yemen
ZR Zaire
ZM Zambia
ZW Zimbabwe
User avatar
irealms
Forum Contributor
Posts: 215
Joined: Mon Apr 28, 2003 7:10 am
Location: Leeds

Post by irealms »

or go to http://www.irealms.co.uk i have one on my scripts page already enclosed in php tags.
Post Reply