-3

I am creating multiple individual and static HTML-Pages in there’re own directories for Homework etc., and since I am lazy I do not want to always update my main Index page, so is it possible (and I know it is) to list those files via PHP?

And what more important is, is how I would do that…

Josh Crozier
  • 233,099
  • 56
  • 391
  • 304
adho12
  • 395
  • 4
  • 11
  • 1
    "is it possible (and I know it is) to list those files via PHP?" Sounds like you answered your own question! – Matt Grande Oct 21 '13 at 20:04
  • A... [`RecursiveDirectoryIterator`](http://www.php.net/manual/en/recursivedirectoryiterator.construct.php) – Wrikken Oct 21 '13 at 20:06

1 Answers1

1

Yes, it is possible: glob() php.net/glob

AbraCadaver
  • 78,200
  • 7
  • 66
  • 87