Hi,
I am quite new to html/php/mysq and have not been able to find out how to rename files on my server when user downloads them.
Scenario is as follows.
On my server I have files with unique names (to handle different revisions)
and a database which maps unique file name with the real file name (real file name comes from upload)
I would like the user to get the file on his/her local machine to have the real file name after downloading without having to make a temporary copy on my server.
Example:
Server Side file name: m00001
Real Filename on client after download: myTest.pdf
The href for the file to download will be handled by php with revision information from drop down menu.
Thanks
/Igor