Hi Folks,
I need help with a problem, and general internet searches turn up a sea of general file transfer scripts, but nothing that matches what I need.
Basically, I’m coding a simple engine to browse an old forum data set. It is full of files, including pictures, videos, PDF documents… all sorts. However, they are all stored in a format like… “files/45/93/1884763” which makes no sense (but I can understand it’s easier on the file system, especially when files were uploaded with character sets from different languages)
I have a table that contains the original file name for each file on disk, however, I need to write some PHP code that, when someone clicks on a link with “files/38/74/888374645” … will return, say, “ServiceManual.pdf” to the browser.
Can anyone help me on this please?