01 | | 02 | | 03 | | 04 | | 05 | | 06 | | 07 | | 08 | | 09 | | 10 | | 11 | | 12 | | 13 | | 14 | | 15 | | 16 | | 17 | | 18 | | 19 | | 20 | | 21 | | 22 | | 23 | | 24 | | 25 | | 26 | | 27 | | 28 | | 29 | | 30 | | 31 | | 32 | | 33 | | 34 | | 35 | | 36 | | 37 | | 38 | | 39 | | 40 | | 41 | | 42 | | 43 | | 44 | | 45 | | 46 | | 47 | | 48 | | 49 | | 50 | | 51 | | 52 | | 53 | | 54 | | 55 | | 56 | | 57 | | 58 | | 59 | | 60 | | 61 | | 62 | | 63 | | 64 | | 65 | | 66 | | 67 | | 68 | | 69 | | 70 | | 71 | | 72 | | 73 | | 74 | | 75 | | 76 | | 77 | | 78 | | 79 | | 80 | | 81 | | 82 | | 83 | | 84 | | 85 | | 86 | | 87 | | 88 | | 89 | | 90 | | 91 | | 92 | | 93 | | 94 | | 95 | | 96 | | 97 | | 98 | | 99 | | 100 | | 101 | | 102 | | 103 | | 104 | | 105 | | 106 | | 107 | | 108 | | 109 | | 110 | | 111 | | 112 | | 113 | | 114 | | 115 | | 116 | | 117 | | 118 | | 119 | | 120 | | 121 | | 122 | |
|
<?php
| /*---------------------------------------------------------------*/
| /*
| Titre : Préfecture des départements
|
| URL : https://phpsources.net/code_s.php?id=999
| Date édition : 15 Fév 2019
| Date mise à jour : 06 Aout 2019
| Rapport de la maj:
| - refactoring du code en PHP 7
| - fonctionnement du code vérifié
| - correction du code
| - amélioration du code
| - modification de la description
| */
| /*---------------------------------------------------------------*/
|
| $prefecture=array(
| "1" => "Bourg-en-Bresse",
| "2" => "Laon",
| "3" => "Moulins",
| "4" => "Digne",
| "5" => "Gap",
| "6" => "Nice",
| "7" => "Privas",
| "8" => "Charleville-Mézières",
| "9" => "Foix",
| "10" => "Troyes",
| "11" => "Carcassonne",
| "12" => "Rodez",
| "13" => "Marseille",
| "14" => "Caen",
| "15" => "Aurillac",
| "16" => "Angoulême",
| "17" => "La Rochelle",
| "18" => "Bourges",
| "19" => "Tulle",
| "2A" => "Ajaccio",
| "2B" => "Bastia",
| "21" => "Dijon",
| "22" => "Saint-Brieuc",
| "23" => "Guéret",
| "24" => "Périgueux",
| "25" => "Besanà§on",
| "26" => "Valence",
| "27" => "Evreux",
| "28" => "Chartres",
| "29" => "Quimper",
| "30" => "Nà ®mes",
| "31" => "Toulouse",
| "32" => "Auch",
| "33" => "Bordeaux",
| "34" => "Montpellier",
| "35" => "Rennes",
| "36" => "Chà ¢teauroux",
| "37" => "Tours",
| "38" => "Grenoble",
| "39" => "Lons-le-Saunier",
| "40" => "Mont-de-Marsan",
| "41" => "Blois",
| "42" => "Saint-Etienne",
| "43" => "Le Puy",
| "44" => "Nantes",
| "45" => "Orléans",
| "46" => "Cahors",
| "47" => "Agen",
| "48" => "Mende",
| "49" => "Angers",
| "50" => "Saint-Là´",
| "51" => "Chà ¢lons-sur-Marne",
| "52" => "Chaumont",
| "53" => "Laval",
| "54" => "Nancy",
| "55" => "Bar-le-Duc",
| "56" => "Vannes",
| "57" => "Metz",
| "58" => "Nevers",
| "59" => "Lille",
| "60" => "Beauvais",
| "61" => "Alenà§on",
| "62" => "Arras",
| "63" => "Clermont-Ferrand",
| "64" => "Pau",
| "65" => "Tarbes",
| "66" => "Perpignan",
| "67" => "Strasbourg",
| "68" => "Colmar",
| "69" => "Lyon",
| "70" => "Vesoul",
| "71" => "Mà ¢con",
| "72" => "Le Mans",
| "73" => "Chambéry",
| "74" => "Annecy",
| "75" => "Paris",
| "76" => "Rouen",
| "77" => "Melun",
| "78" => "Versailles",
| "79" => "Niort",
| "80" => "Amiens",
| "81" => "Albi",
| "82" => "Montauban",
| "83" => "Toulon",
| "84" => "Avignon",
| "85" => "La Roche-sur-Yon",
| "86" => "Poitiers",
| "87" => "Limoges",
| "88" => "Epinal",
| "89" => "Auxerre",
| "90" => "Belfort",
| "91" => "Evry",
| "92" => "Nanterre",
| "93" => "Bobigny",
| "94" => "Créteil",
| "95" => "Pontoise",
| "971" => "Basse-Terre",
| "972" => "Le Marin, La Trinité",
| "973" => "Cayenne",
| "974" => "Saint-Benoà ®t, Saint-Paul, Saint-Pierre",
| "975" => "Saint-Pierre");
| ?>
|
| |
|
Invité
25 Jan 2020 à 19:11Pour la Réunion (974) tu as oublié Saint-Denis, c'est la Préfecture principale