Location: PHPKode > projects > WebAddressBook > webaddressbook/csv_mapping/microsoft-wab.map.php
<?

$separator = ";";
$line_end = "";
$line_feed = "\r\n";

// microsoft-wab csv to DBtable person mapping
$num_to_name[0]  = "FIRST";
$num_to_name[1]  = "LAST";
$num_to_name[2]  = "FIRST2";
$num_to_name[3]  = "DISPLAY";
$num_to_name[4]  = "NICK";
$num_to_name[5]  = "MAIL1";
$num_to_name[6]  = "HOME_ADDR1";
$num_to_name[7]  = "HOME_CITY";
$num_to_name[8]  = "HOME_ZIPCODE";
$num_to_name[9]  = "HOME_STATE";
$num_to_name[10] = "HOME_COUNTRY";
$num_to_name[11] = "PHONE_HOME";
$num_to_name[12] = "FAX";
$num_to_name[13] = "MOBILE";
$num_to_name[14] = "WEBPAGE2"; // HOME
$num_to_name[15] = "WORK_ADDR1";
$num_to_name[16] = "WORK_CITY";
$num_to_name[17] = "WORK_ZIPCODE";
$num_to_name[18] = "WORK_STATE";
$num_to_name[19] = "WORK_COUNTRY";
$num_to_name[20] = "WEBPAGE1"; // WORK
$num_to_name[21] = "PHONE_WORK";
$num_to_name[22] = "FAX_WORK";
$num_to_name[23] = "PAGER";
$num_to_name[24] = "ORGANIZATION";
$num_to_name[25] = "JOB_TITLE";
$num_to_name[26] = "DEPARTMENT";
$num_to_name[27] = "OFFICE";
$num_to_name[28] = "NOTES";

$first_line['de'][0]  = "Vorname";
$first_line['de'][1]  = "Nachname";
$first_line['de'][2]  = "2. Vorname";
$first_line['de'][3]  = "Name";
$first_line['de'][4]  = "Rufname";
$first_line['de'][5]  = "E-Mail-Adresse";
$first_line['de'][6]  = "Straße (privat)";
$first_line['de'][7]  = "Ort (privat)";
$first_line['de'][8]  = "Postleitzahl (privat)";
$first_line['de'][9]  = "Bundesland (privat)";
$first_line['de'][10] = "Land/Region (privat)";
$first_line['de'][11] = "Rufnummer (privat)";
$first_line['de'][12] = "Fax (privat)";
$first_line['de'][13] = "Mobiltelefon";
$first_line['de'][14] = "Webseite (privat)";
$first_line['de'][15] = "Straße (geschäftlich)";
$first_line['de'][16] = "Ort (geschäftlich)";
$first_line['de'][17] = "Postleitzahl (geschäftlich)";
$first_line['de'][18] = "Bundesland (geschäftlich)";
$first_line['de'][19] = "Land/Region (geschäftlich)";
$first_line['de'][20] = "Firmenwebseite";
$first_line['de'][21] = "Rufnummer (geschäftlich)";
$first_line['de'][22] = "Fax (geschäftlich)";
$first_line['de'][23] = "Pager";
$first_line['de'][24] = "Firma";
$first_line['de'][25] = "Position";
$first_line['de'][26] = "Abteilung";
$first_line['de'][27] = "Büro";
$first_line['de'][28] = "Kommentare";

// be carefull: there mustn't be anything after the ? >
?>
Return current item: WebAddressBook