cvs: pear /Contact_AddressBook/docs/examples action-export.php action-import.php export.php import.php index.php
/Contact_AddressBook/docs/examples/files Eudora.txt KMail.csv Outlook.CSV Palm.csv Thunderbird.csv WAB-selectable.csv WAB.csv Yahoo.csv
/Contact_AddressBook/docs/examples/include footer.php head.php header.php records.php simulations.php

From: Date: Tue, 16 Aug 2005 20:52:00 +0000
Subject: cvs: pear /Contact_AddressBook/docs/examples action-export.php action-import.php export.php import.php index.php
/Contact_AddressBook/docs/examples/files Eudora.txt KMail.csv Outlook.CSV Palm.csv Thunderbird.csv WAB-selectable.csv WAB.csv Yahoo.csv
/Contact_AddressBook/docs/examples/include footer.php head.php header.php records.php simulations.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-34035@lists.php.net to get a copy of this message
firman Tue Aug 16 16:52:00 2005 EDT Added files: /pear/Contact_AddressBook/docs/examples action-export.php action-import.php export.php import.php index.php /pear/Contact_AddressBook/docs/examples/files Eudora.txt KMail.csv Outlook.CSV Palm.csv Thunderbird.csv WAB-selectable.csv WAB.csv Yahoo.csv /pear/Contact_AddressBook/docs/examples/include footer.php head.php header.php records.php simulations.php Log: new examples

http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/action-export.php?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/action-export.php +++ pear/Contact_AddressBook/docs/examples/action-export.php <?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker */ // Load the Contact_AddressBook. require_once 'Contact/AddressBook.php'; // Include our records. include_once 'include/records.php'; if (isset($_POST['submit'])) { if (!empty($_POST['format'])) { // Create a new instance of Contact_AddressBook object. $cab = new Contact_AddressBook; if ($_POST['mode'] == 'print') { include_once 'include/head.php'; print '<pre>'; // Call export to print method. $cab->exportToPrint($_POST['format'], $GLOBALS['_Contact_AddressBook_records']); print '</pre>'; include_once 'include/footer.php'; } else { // Call export to file method. $cab->exportToFile('addressbook', $_POST['format'], $GLOBALS['_Contact_AddressBook_records']); } } } /* * Local variables: * mode: php * tab-width: 4 * c-basic-offset: 4 * c-hanging-comment-ender-p: nil * End: */ ?> http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/action-import.php?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/action-import.php +++ pear/Contact_AddressBook/docs/examples/action-import.php <?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker */ // Ignore this line. include_once 'include/head.php'; if (isset($_POST['submit'])) { $error = false; if ($_POST['mode'] == 'sim') { include_once 'include/simulations.php'; if (!isset($GLOBALS['_Contact_AddressBook_simulations'][$_POST['simId']])) { print 'Error: no simulation file selected'; $error = true; } else { $file = dirname(__FILE__) . '/files/' . $GLOBALS['_Contact_AddressBook_simulations'][$_POST['simId']]['file']; $format = $GLOBALS['_Contact_AddressBook_simulations'][$_POST['simId']]['format']; } } else { if (isset($_FILES['file'])) { if ($_FILES['file']['error'] !== 0) { print 'An error occurs when uploading file'; $error = true; } else { $file = $_FILES['file']['tmp_name']; $format = $_POST['format']; } } } if (!$error) { // Load the Contact_AddressBook. require_once 'Contact/AddressBook.php'; // Create a new instance of Contact_AddressBook object. $cab = new Contact_AddressBook; // Call the import method. $res = $cab->importFromFile($file, $format); // Done! print '<h3>File contents</h3>' . "\n"; print '<pre>'; print htmlspecialchars(file_get_contents($file)); print '</pre>'; print '<h3>Converted data</h3>' . "\n"; print '<pre>'; var_export($res); print '</pre>'; } } // Ignore this line. include_once 'include/footer.php'; /* * Local variables: * mode: php * tab-width: 4 * c-basic-offset: 4 * c-hanging-comment-ender-p: nil * End: */ ?> http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/export.php?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/export.php +++ pear/Contact_AddressBook/docs/examples/export.php <?php include_once 'include/head.php'; include_once 'include/header.php'; include_once 'include/records.php'; ?> <div class="nav"><a href="index.php">Home</a></div> <h2>Options</h2> <dl> <dt><b>Here the options to import the address book:</b></dt> <dt>1. <i>defs_dir</i>, Definition directory (default is PEAR data directory)</dt> <dt>2. <i>language</i>, Address book language in code (required only if the format is the selectable fields such as WAB, default is "en" english)</dt> </dl> <h2>In Action</h2> <b>Here an Array we have:</b> <div class="code"> <?php print '<pre>'; var_export($GLOBALS['_Contact_AddressBook_records']); print '</pre>'; ?> </div> <form method="post" action="action-export.php" target="_blank"> <b>Select the export format:</b><br /> <select name="format" id="format"> <option value="" selected="selected">Select ...</option> <option value="eudora">Eudora</option> <option value="csv_kmail">KMail (KDE Mailer) CSV</option> <option value="csv_mozilla">Mozilla/Thunderbird/Netscape CSV</option> <option value="csv_outlook">Microsoft Outlook CSV</option> <option value="csv_wab">Microsoft Windows Address Book (WAB)/Outlook Express CSV</option> <option value="csv_palm">Palm Pilot CSV</option> <option value="csv_yahoo">Yahoo! Mail Address Book</option> </select><br /> <b>Output options:</b><br /> <input name="mode" type="radio" value="print" id="mode_print" checked><label for="mode_print">Print it</label> <input name="mode" type="radio" value="send" id="mode_send"><label for="mode_send">Donwload it</label><br /> <input name="submit" type="submit" id="submit" value="Export" /> </form> <h2>Source</h2> <div class="code"> <?php highlight_file(dirname(__FILE__) . '/action-export.php'); ?> </div> <?php include_once 'include/footer.php'; ?> http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/import.php?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/import.php +++ pear/Contact_AddressBook/docs/examples/import.php <?php include_once 'include/head.php'; include_once 'include/header.php'; include_once 'include/simulations.php'; ?> <script language="javascript" type="text/javascript"> function checkImportForm() { var form = document.ImportForm; if (form.mode[0].checked) { for (var i = 0; i < form.simId.length; i++) { if (form.simId[i].checked) { return true; } } alert('Please pick a file first'); return false; } else { if (form.file.value == '') { alert('Please pick a file to import'); return false; } if (form.format.value == '') { alert('Please select the format of file first'); return false; } } return true; } function hideElement(id) { var obj = document.getElementById(id); if (obj != null) { obj.style.display = 'none'; } } function showElement(id) { var obj = document.getElementById(id); if (obj != null) { obj.style.display = ''; } } </script> <div class="nav"><a href="index.php">Home</a></div> <h2>Options</h2> <dl> <dt><b>Here the options to import the address book:</b></dt> <dt>1. <i>defs_dir</i>, Definition directory (default is PEAR data directory)</dt> <dt>2. <i>language</i>, Address book language in code (required only if the format is the selectable fields such as WAB, default is "en" english)</dt> </dl> <h2>In Action</h2> <form name="ImportForm" method="post" action="action-import.php" enctype="multipart/form-data" target="result" onSubmit="javascript: return checkImportForm();"> <b>What do you want to do?</b><br /> <input name="mode" type="radio" value="sim" id="mode_sim" onClick="if (this.checked) { showElement('sim'); hideElement('own'); }" checked /><label for="mode_sim">Use simulation file</label> <input name="mode" type="radio" value="own" id="mode_own" onClick="if (this.checked) { showElement('own'); hideElement('sim'); }" /><label for="mode_own">Use my own file</label><br /> <div id="sim"> <b>Pick a file:</b><br /> <?php foreach ($GLOBALS['_Contact_AddressBook_simulations'] as $key => $value) { ?> <input type="radio" name="simId" value="<?php print $key; ?>" id="<?php print $value['format'] . '_' . $key; ?>" /><label for="<?php print $value['format'] . '_' . $key; ?>"><?php print '<b>' . $value['file'] . '</b>, ' . $value['desc']; ?></label><br /> <?php } ?> </div> <div id="own" style="display:none;"> <input type="hidden" name="MAX_FILE_SIZE" value="1048576" /> <b>Pick a file:</b><br /> <input name="file" type="file" size="50" /> <br /> <b>Select the format of file:</b><br /> <select name="format" id="format"> <option value="" selected="selected">Select ...</option> <option value="eudora">Eudora</option> <option value="csv_kmail">KMail (KDE Mailer) CSV</option> <option value="csv_mozilla">Mozilla/Thunderbird/Netscape CSV</option> <option value="csv_outlook">Microsoft Outlook CSV</option> <option value="csv_wab">Microsoft Windows Address Book (WAB)/Outlook Express CSV</option> <option value="csv_palm">Palm Pilot CSV</option> <option value="csv_yahoo">Yahoo! Mail Address Book</option> </select><br /> </div> <input name="submit" type="submit" id="submit" value="Import" /> </form> <br /> <b>Result:</b> <iframe name="result" style="width:100%; height: 400px" frameborder="1"></iframe> <h2>Source</h2> <div class="code"> <?php highlight_file(dirname(__FILE__) . '/action-import.php'); ?> </div> <?php include_once 'include/footer.php'; ?> http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/index.php?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/index.php +++ pear/Contact_AddressBook/docs/examples/index.php <?php include_once 'include/head.php'; include_once 'include/header.php'; ?> <h2>Introduction</h2> <p>Contact_AddressBook is a PEAR package provide import-export address book mechanism. Contact_AddressBook refers to needed structure, convert the various address book structure format into it, then you can easily store it into file, database or another storage media.</p> <dl> <dt><b>Currently supportted formats:</b></dt> <dt>1. KMail (KDE Mailer) CSV</dt> <dt>2. Mozilla/Thunderbird/Netscape CSV</dt> <dt>3. Microsoft Outlook CSV</dt> <dt>4. Palm Pilot CSV</dt> <dt>5. Microsoft Windows Address Book (WAB) CSV</dt> <dt>6. Yahoo! Mail Address Book</dt> <dt>7. Eudora</dt> </dl> <dl> <dt><b>Examples</b></dt> <dt>1. <a href="import.php">Import</a></dt> <dt>2. <a href="export.php">Export</a></dt> </dl> <?php include_once 'include/footer.php'; ?> http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/files/Eudora.txt?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/files/Eudora.txt +++ pear/Contact_AddressBook/docs/examples/files/Eudora.txt alias firman firman@php.net note firman <first:Firman><last:Wandayandi><displayname:Firman Wandayandi><email:firman@php.net><address:Foo Street><city:Bandung><zip:99999><state:West Java><country:Indonesia><phone:99999999><fax:99999999><mobile:999999999><web:http://php.hm/~firman><address2:Foo Street><city2:Bandung><zip2:99999><state2:West Java><country2:Indonesia><phone2:99999999><fax2:99999999><company:Foo><title:Web Developer>It's a notes. http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/files/KMail.csv?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/files/KMail.csv +++ pear/Contact_AddressBook/docs/examples/files/KMail.csv "Formatted Name","Family Name","Given Name","Additional Names","Honorific Prefixes","Honorific Suffixes","Nick Name","Birthday","Home Address Street","Home Address Locality","Home Address Region","Home Address Postal Code","Home Address Country","Home Address Label","Business Address Street","Business Address Locality","Business Address Region","Business Address Postal Code","Business Address Country","Business Address Label","Home Phone","Business Phone","Mobile Phone","Home Fax","Business Fax","Car Phone","ISDN","Pager","Email Address","Mail Client","Title","Role","Organization","Note","URL","Department","Profession","Assistant's Name","Manager's Name","Spouse's Name","Office","IM Address","Anniversary" "Firman","","Firman Wandayandi","Wandayandi","","","firman","","Foo Street","","","99999","Indonesia","","Foo Street","","","99999","Indonesia","","99999999","99999999","999999999","99999999","99999999","","","99999999","firman@php.net","","","Web Developer","Foo","It's a notes.","http://php.hm/~firman","Foo Net","","","","","","","" http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/files/Outlook.CSV?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/files/Outlook.CSV +++ pear/Contact_AddressBook/docs/examples/files/Outlook.CSV Title,First Name,Middle Name,Last Name,Suffix,Company,Department,Job Title,Business Street,Business Street 2,Business Street 3,Business City,Business State,Business Postal Code,Business Country,Home Street,Home Street 2,Home Street 3,Home City,Home State,Home Postal Code,Home Country,Other Street,Other Street 2,Other Street 3,Other City,Other State,Other Postal Code,Other Country,Assistant's Phone,Business Fax,Business Phone,Business Phone 2,Callback,Car Phone,Company Main Phone,Home Fax,Home Phone,Home Phone 2,ISDN,Mobile Phone,Other Fax,Other Phone,Pager,Primary Phone,Radio Phone,TTY/TDD Phone,Telex,Account,Anniversary,Assistant's Name,Billing Information,Birthday,Business Address PO Box,Categories,Children,Directory Server,E-mail Address,E-mail Type,E-mail Display Name,E-mail 2 Address,E-mail 2 Type,E-mail 2 Display Name,E-mail 3 Address,E-mail 3 Type,E-mail 3 Display Name,Gender,Government ID Number,Hobby,Home Address PO Box,Initials,Internet Free Busy,Keywords,Language,Location,Manager's Name,Mileage,Notes,Office Location,Organizational ID Number,Other Address PO Box,Priority,Private,Profession,Referred By,Sensitivity,Spouse,User 1,User 2,User 3,User 4,Web Page ,Firman,,Wandayandi,,Foo,Foo Net,Web Developer,Foo Street,,,Bandung,West Java,99999,Indonesia,Foo Street,,,Bandung,West Java,99999,Indonesia,,,,,,,,,99999999,,,,,99999999,99999999,99999999,,,999999999,,,99999999,,,,,,,,,,,,,,firman@php.net,,Firman Wandayandi,,,,,,,,,,,,,,,,,,"It's multiline memo.",,,,,,,,,,,,,,http://php.hm/~firman http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/files/Palm.csv?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/files/Palm.csv +++ pear/Contact_AddressBook/docs/examples/files/Palm.csv "Shumway1","Gordon","President","Alf Ltd","408-555-1254","408-555-1255","408-555-1256","408-555-1257","Gordon!@usa.com","123 Anywhere Street","San Jose","CA","95128","USA","","","","","","0","Family" "Shumway2","Gordon","VP","Alf Ltd","405-555-1234","408-555-1235","408-555-1236","408-555-1237","Gordon2@usa.com","12345 Lost Street","San Jose","CA","95129","USA","","","","","","1","Family" http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/files/Thunderbird.csv?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/files/Thunderbird.csv +++ pear/Contact_AddressBook/docs/examples/files/Thunderbird.csv Firman,Wandayandi,Firman Wandayandi,firman,firman@php.net,,99999999,99999999,99999999,99999999,999999999,Foo Street,,Bandung,West Java,99999,,Foo Street,,Bandung,West Java,99999,Indonesia,Web Developer,Foo Net,Foo,,http://php.hm/~firman,,,,,,,,It's a notes., http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/files/WAB-selectable.csv?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/files/WAB-selectable.csv +++ pear/Contact_AddressBook/docs/examples/files/WAB-selectable.csv First Name,Last Name,Name,Nickname,E-mail Address,Home Street,Home City,Home Postal Code,Home State,Home Country/Region,Home Phone,Home Fax,Mobile Phone,Personal Web Page,Business Street,Business City,Business Postal Code,Business State,Business Country/Region,Business Web Page,Business Phone,Business Fax,Pager,Company,Job Title,Department,Office Location,Notes foo,bar,foo,foo,foo@bar.com,"Foo Street 8, 20 Building",foo,9999999,foo,Afghanistan,Foo Street 8,99999999,999999999,http://foo.bar.com,Foo Street 8,Foo,99999,Foo,Foo/Foo,,Foo Street 8,99999999,99999999,foo,Web Developer,Foo Net,Foo Building,"I'm multiline memo." http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/files/WAB.csv?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/files/WAB.csv +++ pear/Contact_AddressBook/docs/examples/files/WAB.csv First Name,Last Name,Middle Name,Name,Nickname,E-mail Address,Home Street,Home City,Home Postal Code,Home State,Home Country/Region,Home Phone,Home Fax,Mobile Phone,Personal Web Page,Business Street,Business City,Business Postal Code,Business State,Business Country/Region,Business Web Page,Business Phone,Business Fax,Pager,Company,Job Title,Department,Office Location,Notes Firman,Wandayandi,,Firman Wandayandi,firman,firman@php.net,Foo Street,Bandung,99999,West Java,Indonesia,99999999,99999999,999999999,http://php.hm/~firman,Foo Street,Bandung,99999,West Java,Indonesia,,99999999,99999999,99999999,Foo,Web Developer,Foo Net,,"It's multiline memo." http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/files/Yahoo.csv?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/files/Yahoo.csv +++ pear/Contact_AddressBook/docs/examples/files/Yahoo.csv "First","Middle","Last","Nickname","Email","Category","Distribution Lists","Yahoo! ID","Home","Work","Pager","Fax","Mobile","Other","Yahoo! Phone","Primary","Alternate Email 1","Alternate Email 2","Personal Website","Business Website","Title","Company","Work Address","Work City","Work County","Work Post Code","Work Country","Home Address","Home Town","Home County","Home Post Code","Home Country","Birthday","Anniversary","Custom 1","Custom 2","Custom 3","Custom 4","Comments" "Firman","","Wandayandi","firman","firman@php.net","","","","","tarzillamax","99999999","","999999999","","","","","","http://php.hm/~firman","","","Foo","Foo Street","Bandung","West Java","99999","Indonesia","Foo Street","Bandung","West Java","99999","Indonesia","","","","","","","It's multiline memo." http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/include/footer.php?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/include/footer.php +++ pear/Contact_AddressBook/docs/examples/include/footer.php </div> </body> </html> http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/include/head.php?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/include/head.php +++ pear/Contact_AddressBook/docs/examples/include/head.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>PEAR::Contact_AddressBook Usage Example</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> body, table, select, textarea, input { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; color: #333333 } body { text-align: center; } ul { margin: 0 0 0 20px; } h1 { font-size:18px; color: #006600; } h2 { font-size: 16px; color: #006600; } h3 { font-size: 14px; color: #006600; } hr { border: 0; background: #006600; color: #006600; } td { vertical-align: top; } a:link { color: #006600 } a:visited { color: #030 } a:hover { color: #003300 } form { margin: 0; padding: 0; } img { border: 0; } #body { width: 760px; text-align: left; margin: auto; }..flag { font-style: italic; color: #ff3300; }..nav { text-align: right; padding: 4px; border-bottom: 1px solid black; }..code { border: 1px dashed grey; padding: 4px; background: #f8f8f8; } </style> </head> <body> <div id="body"> http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/include/header.php?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/include/header.php +++ pear/Contact_AddressBook/docs/examples/include/header.php <h1>PEAR::Contact_AddressBook Usage Example </h1> Copyright &copy; 2004-2005 Firman Wandayandi. All rights reserved. <hr /> http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/include/records.php?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/include/records.php +++ pear/Contact_AddressBook/docs/examples/include/records.php <?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker */ $GLOBALS['_Contact_AddressBook_records'] = array ( 0 => array ( 'firstname' => 'Firman', 'lastname' => 'Wandayandi', 'middlename' => '', 'displayname' => 'Firman Wandayandi', 'nickname' => 'firman', 'email' => 'firman@php.net', 'home_address' => 'Foo Street', 'home_city' => 'Bandung', 'home_zipcode' => '99999', 'home_state' => 'West Java', 'home_country' => 'Indonesia', 'home_phone' => '99999999', 'home_fax' => '99999999', 'mobile' => '999999999', 'homepage' => 'http://php.hm/~firman', 'work_address' => 'Foo Street', 'work_city' => 'Bandung', 'work_zipcode' => '99999', 'work_state' => 'West Java', 'work_country' => 'Indonesia', 'work_homepage' => '', 'work_phone' => '99999999', 'work_fax' => '99999999', 'pager' => '99999999', 'organization' => 'Foo', 'job_title' => 'Web Developer', 'department' => 'Foo Net', 'notes' => 'It\'s multiline memo.', ), ) /* * Local variables: * mode: php * tab-width: 4 * c-basic-offset: 4 * c-hanging-comment-ender-p: nil * End: */ ?> http://cvs.php.net/co.php/pear/Contact_AddressBook/docs/examples/include/simulations.php?r=1.1&p=1 Index: pear/Contact_AddressBook/docs/examples/include/simulations.php +++ pear/Contact_AddressBook/docs/examples/include/simulations.php <?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker */ $GLOBALS['_Contact_AddressBook_simulations'] = array( array( 'file' => 'Eudora.txt', 'format' => 'eudora', 'desc' => 'Eudora Address Book' ), array( 'file' => 'KMail.csv', 'format' => 'csv_kmail', 'desc' => 'KMail (KDE Mailer) CSV' ), array( 'file' => 'Thunderbird.csv', 'format' => 'csv_mozilla', 'desc' => 'Mozilla/Thunderbird/Netscape CSV' ), array( 'file' => 'Outlook.csv', 'format' => 'csv_outlook', 'desc' => 'Microsoft Outlook CSV' ), array( 'file' => 'WAB.csv', 'format' => 'csv_wab', 'desc' => 'Microsoft Windows Address Book (WAB)/Outlook Express CSV' ), array( 'file' => 'WAB-selectable.csv', 'format' => 'csv_wab', 'desc' => 'Microsoft Windows Address Book (WAB)/Outlook Express CSV (selected fields)' ), array( 'file' => 'Palm.csv', 'format' => 'csv_palm', 'desc' => 'Palm Pilot CSV' ), array( 'file' => 'Yahoo.csv', 'format' => 'csv_yahoo', 'desc' => 'Yahoo! Mail Address Book' ) ); /* * Local variables: * mode: php * tab-width: 4 * c-basic-offset: 4 * c-hanging-comment-ender-p: nil * End: */ ?>
« previous php.pear.cvs (#34035) next »