3 error_reporting( E_ALL
);
4 ini_set('display_errors', 1);
5 include ('messaging.class.php');
7 function notification($directory, $inbox) {
11 $files = glob("*.dat");
13 throw new Exception("0");
15 foreach($files as $filename){
16 $array = file($filename);
18 $checkUnread = $inbox->within_str($value, "<read>", "</read>");
26 return $e->getMessage();
29 // print_r($valueTest1);
31 $value = notification($_SESSION['sLoggedDir'], $inbox);