Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $dir = ".";
- $files = scandir($dir);
- unset($dir[0]);
- unset($dir[1]);
- echo "<a href='../'>Going Up</a><br><br>";
- foreach ($files as $file)
- {
- echo "<a href='".$file."'>".$file."</a><br>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement