Hi guys,
How could I do to find if the file "photo_2" exists in the "photos" directory, regardless of the file extension, whenever it is photo_2.gif or photo_2.jpg?
file_exists() use extensions.
Is there a similar function so that I don't need to scan the whole directory?
Thanks!