Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- How do you itterate files in a directory
April 24, 2006, 9:20 am
rate this thread
I'm using PHP to develop for a web site but I'd also like to use it
locally on my Windows platform for easy conversion later on.
I have PHP working fine on windows but now I want to do something
thats stumped me.
I'm trying to perform operations on every text (*.txt) file in a
directory but can't work out how to select them.
Normally I use Delphi and findfirst/findnext etc.
I looked for the equivalent PHP functions and did find directoryIterate
but there's no documents or much explanation at all and I can't get it to
Am I doing the right thing or is there a better way - can anyone show me