- echo "$dir/mail/$entry<br/>";
-//
-// if ($handle = opendir($dir . '/mail')) {
-// while (false !== ($entry = readdir($handle))) {
-// if ($entry == "." || $entry == ".." || !preg_match('/\.html$/', $entry)) {
-// continue;
-// }
-//
+
+ if ($handle = opendir($dir . '/mail')) {
+ while (false !== ($entry = readdir($handle))) {
+ if ($entry == "." || $entry == ".." || !preg_match('/\.html$/', $entry)) {
+ continue;
+ }
+ echo "$dir/mail/$entry<br/>";