I have a folder with N number of files with different extensions, when I upload the file to the folder I rename it with a number, for example: 1.jpg or 4.docx or 7.pdf. I need you to list the file without knowing what extension it has, that is, when I upload the page by GET method I send the code of the number it has without knowing what extension it has. Ex: localhost / example / index.php? Code = 1 What I need is for the page to go and look for the file folder, the file that is called 1 regardless of the extension it has. Thanks!