$dirs, 'images' => $images, 'files' => $files); return $results; } $root = $_GET['root'] ? $_GET['root'] : "."; $paths = dirList($root); ?>

hosted.jezmckean.com/

$val) { if (file_exists($val . '/index.php')) { echo '' . $val . ' '; } else { echo '' . $val . ' '; } } echo '
'; foreach ($paths['images'] as $key => $val) echo '' . $val . ' '; echo '
'; foreach ($paths['files'] as $key => $val) echo '' . $val . ' '; echo '
'; ?>