Hi
I was wondering if someone could help me out.
I want to search a folder for a pre-specified file name.
I am using the file_exists function which works fine.
However what I would like to do is search for a file if I don't have the file extension bit.
For example:
In Windows you can do a search for test.*,
I would like to do something similar to this but it does not have to be able to search sub-folders.
I was wondering if someone could help me out.
I want to search a folder for a pre-specified file name.
I am using the file_exists function which works fine.
However what I would like to do is search for a file if I don't have the file extension bit.
For example:
In Windows you can do a search for test.*,
I would like to do something similar to this but it does not have to be able to search sub-folders.