Hi,
I want to be able to list the contents in a directory and then print it to the user so i can show them the contents of their profile. Can i do this?
Cheers,
Elfyn
yes, have a look at the dir() object in the reference. there are posted examples that will do what you require.
First u have to create an object of the di\r class: $dir=dir("dirname"); then u call $dir->read function which returns a file or a sub-dir each time it's called.