include("../navbar.php"); function directory($result) { $dir_path=$_SERVER['DOCUMENT_ROOT']; $path1 = "$dir_path/Assets/$_GET[path]"; $path2 = "/Assets/$_GET[path]"; $open_dir = $path1; $handle=opendir($open_dir); $ct = 0; echo "
\n";
while ($file = readdir($handle)) {
if ($file == "." || $file == "..") { }
else { print "$file \n"; } } echo " |
echo directory($result); include("../footer.php"); ?>