Let's say I have an audio-file on my server which is something like "148322342342.mp3".
Is it possible to do a script that rewrites the filename on a download request but leaves the original filename on the server?
Such as someone clicks the script or does via "save target as..." and doesn't get the 148322342342.mp3 but something like audiofile1.mp3?
or maybe there is a way to do this via apache?
oh and another thing... is there a way to change the response headers via php that are send to a browser? E.g. the user always gets the dialog box for a download and the browser shouldn't open an application if the filetype is known.