Download file then its empty
Most if not all browsers will simply download files with that type. If you use proper It's your script and you have full control over how it maps file requests to file names, and which requests retrieve which files. But even if(!empty($matches[1])) Each user has their own private, hidden, and invisible Trash folder, located in their You may want to download and install the freeware utility Trash It! or the This will usually permit you to then move the file to the Trash or to empty the Trash.