Guest User

bla

a guest
Feb 10th, 2014
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  4. <title>test</title>
  5. </head>
  6.  
  7. <body>
  8.  
  9. </body>
  10.  
  11. <?php
  12. $dirname = "/images/personal/endicott/";
  13.  
  14. $dir = opendir($dirname);
  15.  
  16. while(false != ($file = readdir($dir)))
  17. {
  18. if(($file != ".") and ($file != ".."))
  19. {
  20. echo("<a href='".$file."'>".$file."</a><br />");
  21. }
  22. }
  23. ?>
  24.  
  25. </html>
Advertisement
Add Comment
Please, Sign In to add comment