Guest User

Untitled

a guest
Apr 25th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. if ($i = opendir('.')) {
  2. echo "<h1>Alle filene:</h1>\n";
  3. echo "<ul>\n";
  4. while (false !== ($fil = readdir($i))) {
  5. echo "<li><a href=\"$fil\">$fil</a></li>\n";
  6. }
  7. echo "</ul>";
  8. }
Add Comment
Please, Sign In to add comment