How could I get php to list the files in a directory?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bimbofred
    New Member
    • Jul 2007
    • 1

    How could I get php to list the files in a directory?

    I want it to echo the files in a directory.

    Like this:
    file1.txt
    file2.txt
    file3.txt

    Is there a way of doing this?
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, bimbofred.

    Check out this article.

    Comment

    Working...