Directory Listing with Links to files using Php

  • d33p th1nk3r
  • Born
  • Born
  • d33p th1nk3r
  • Posts: 1

Post 3+ Months Ago

I would like to create an index.php file to list in a root directory that lists the contents of that directory. I would like that directory listing to link to the contents of the directory.

If the index.php file is placed in the directory, then would show ...

project01/ (directory)

pr1a.html (file in project01 directory)
pr2a.html (file in project01 directory)
pr3a.html (file in project01 directory)

project02/ (directory)

pr1a.html (file in project02 directory)
pr2a.html (file in project02 directory)
pr3a.html (file in project02 directory)

having each listing linked to itself (meaning, if you click on 'project01/' you would be taken to the directory).

Thanks in advance.
  • criserb
  • Student
  • Student
  • User avatar
  • Posts: 68
  • Loc: Romania

Post 3+ Months Ago


I saw a script that made that some time ago on you can try to find it, I’ve tried now but unfortunately i didn't find it. But surely it must be there.

Good Luck

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 44 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.