Guest User

Untitled

a guest
Dec 14th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. <?php
  2. $path = "./";
  3. foreach(glob('./*', GLOB_ONLYDIR) as $dir){
  4. $dir = basename($dir);
  5. echo '<li><a href='.$path.''. $dir .'>'.'/'.$dir.'</a></li>';
  6. }
  7. ?>
Add Comment
Please, Sign In to add comment