I'm looking for some way to read the contents of a directory, basically to know the names of the files within. Is there any way to do this?
I know of the java way, using the regular old File class.
But there doesn't seem to be any way to read directory structures in php. I've only found ways to write to them, or read individual files, that kind of thing.
TIA,
Darrell