Advertisement
Guest User

Untitled

a guest
Feb 17th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.53 KB | None | 0 0
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  22. 22
  23. <!DOCTYPE html>
  24. <html>
  25. <head>
  26.     <meta charset="UTF-8">
  27.     <meta http-equiv="refresh" content="50">
  28.     <title></title>
  29. </head>
  30. <body>
  31.  
  32. </body>
  33. </html>
  34.  
  35. <?php
  36.    $path = "backup/";
  37.    $diretorio = dir($path);
  38.      
  39.     echo "Lista de Arquivos do diretório '<strong>".$path."</strong>':<br />";    
  40.    while($arquivo = $diretorio -> read()){
  41.       echo "<a href='".$path.$arquivo."'>".$arquivo."</a><br />";
  42.    }
  43.    $diretorio -> close();
  44. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement