php filter file name question
I borrowed a php script which will display all the file names under the specified directory, how can i even filter it more, i only want files that has .php extension to get print out. which php function can i use to do that? thanks.
|