Hi, I'm working on a system that allows users to upload and then download pdf files. Each file is related to a mySQL database entry. To keep things simple and consistent, I'd like to store the pdf files like this on the server:
[PRIMARY_KEY].pdf But when a user downloads the file, I'd like them to receive something like: [TITLE].pdf Is there a way to get php to rename the file when a user tries to download it? TIA, Beau -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php