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.

Example:
If the index.php file is placed in the http://school.website.com/class/ directory, then http://school.website.com/class/index.php 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 http://school.website.com/class/project01/ directory).

Thanks in advance.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • criserb
  • Student
  • Student
  • User avatar
  • Posts: 70
  • Loc: Romania

Post 3+ Months Ago

Hi,

I saw a script that made that some time ago on http://www.onlyphp.com/ 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 124 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-2014. Ozzu® is a registered trademark of Unmelted, LLC.