Downloading a file with an arbitrary name
19:03 26 Oct 2009

Is it possible to let your user download a file with an arbitrary name?

For example, there is a file called "4324ffsd34.jpg". I want people to download it via download.php, with a different name (like "filetodownload.jpg"), without renaming the original file. Or, if I'm sending data from a variable to the user as a download, how can I name it?

php download http-headers