Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $path = ".";
- $dir = opendir($path) or die ("Unable to open");
- while($file = readdir($dir))
- {
- if($file == "." || $file == ".." || $file == "Balloon.html"
- || $file == "cdu.html" || $file == "cdu1.php" || $file == "create.php"
- || $file == "delete.php" || $file == "delete.png" || $file == "index.html"
- || $file == "login.php" || $file == "security.php" || $file == "connect.php"
- || $file == "process.php" || $file == "upload" || $file == "upload.php"
- || $file == "last.html" || $file == "Sign-Up.html" || $file == "cdev.php"
- || $file == "create_file.php" || $file == "del.php" || $file == "edit.php"
- || $file == "edit_file.php" || $file == "regprocess.php") continue;
- echo "<a href='$file'>$file</a><br><a href='delete.php?dir=$file'><img src='delete.png'></a>";
- }
- closedir($dir);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement