6 * Copyright (c) 1999-2003 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
9 * This file is used for reading the msgs array and displaying
10 * the resulting emails in the right frame.
15 /* Path for SquirrelMail required files. */
16 define('SM_PATH','../');
18 /* SquirrelMail required files. */
19 require_once(SM_PATH
. 'include/validate.php');
20 require_once(SM_PATH
. 'functions/strings.php');
21 require_once(SM_PATH
. 'functions/prefs.php');
22 require_once(SM_PATH
. 'config/config.php');
24 $abook_file=$data_dir.$username.".abook";
25 $vcard_dir=$data_dir.$username."/";
27 $fp = fopen ($abook_file,"r");
29 $buffer .= fgets($fp, 4096);
34 $abook=explode("|",$buffer);
38 while ( list($nick,$email,$fn,$ln,$email)=each($abook) ) {