Location: PHPKode > projects > WebAddressBook > webaddressbook/csv_mapping/mozilla1.6.map.php
<?

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

// mozilla 1.6 csv to DBtable person mapping
$num_to_name[0]  = "FIRST";
$num_to_name[1]  = "LAST";
$num_to_name[2]  = "DISPLAY";
$num_to_name[3]  = "NICK";
$num_to_name[4]  = "MAIL1";
$num_to_name[5]  = "MAIL2";
$num_to_name[6]  = "PHONE_WORK";
$num_to_name[7]  = "PHONE_HOME";
$num_to_name[8]  = "FAX";
$num_to_name[9]  = "PAGER";
$num_to_name[10] = "MOBILE";
$num_to_name[11] = "HOME_ADDR1";
$num_to_name[12] = "HOME_ADDR2";
$num_to_name[13] = "HOME_CITY";
$num_to_name[14] = "HOME_STATE";
$num_to_name[15] = "HOME_ZIPCODE";
$num_to_name[16] = "HOME_COUNTRY";
$num_to_name[17] = "WORK_ADDR1";
$num_to_name[18] = "WORK_ADDR2";
$num_to_name[19] = "WORK_CITY";
$num_to_name[20] = "WORK_STATE";
$num_to_name[21] = "WORK_ZIPCODE";
$num_to_name[22] = "WORK_COUNTRY";
$num_to_name[23] = "JOB_TITLE";
$num_to_name[24] = "DEPARTMENT";
$num_to_name[25] = "ORGANIZATION";
$num_to_name[26] = "WEBPAGE1"; // WORK
$num_to_name[27] = "WEBPAGE2"; // HOME
$num_to_name[28] = "BIRTH_YEAR";
$num_to_name[29] = "BIRTH_MONTH";
$num_to_name[30] = "BIRTH_DAY";
$num_to_name[31] = "CUSTOM1";
$num_to_name[32] = "CUSTOM2";
$num_to_name[33] = "CUSTOM3";
$num_to_name[34] = "CUSTOM4";
$num_to_name[35] = "NOTES";

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