hi there ~
Is there any function that i can use to read all the file names (with or without the path does not matter) of a dirctory into an array ?
for example there are 5 files under a directory called "pix" those files are a.jpg b.jpg c.jpg d.jpg e.jpg
the output should be
$filename[0] = a.jpg
$filename[1] = b.jpg
....
....
....
ps. i need to display all the pics under a folder of my website ~