PHP or C, please help :S?

Newbie_4

New member
Hi... I know how to read from a file named myfile.txt and Print it on PHP and C. I know how to write to myfile.txt also. What I DONT know is... is there any way I can read the name of the file. i.e.: I have a folder called Files and in Files I have 2 files music.mp3 and word.txt and the program has to print: the names of the files in this folder are: music.mp3, word.txt.

Does any one has an idea? or a hint? or a link that gives me a function or something to help me with this.... thank you! looking foward to read some good hints :O)
 
Back
Top