I have a folder called "pic", there are some picture files in it. I want to get all filenames in a array, and then (use a while loop) show those pictures as a e-album on the php page. But how can I get those filenames? Is there any php function can be used? Or could you tell me how to create a simple php e-album?
Thank you!