Guest User

Untitled

a guest
Feb 23rd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. /* Creates a link to each file in the current directory */
  2. <?php
  3. foreach(scandir(".") as $file){
  4. echo "<a href='$file'>$file</a><br/>";
  5. }
  6. ?>
Add Comment
Please, Sign In to add comment