Hello freaks,
Last week I asked for a way to download files without showing the paths and I was given this
header("Content-Disposition: attachment; filename=\"{$fname}\""); header("Content-Type: application/force-download"); header("Content-Description: File Transfer");
It is downloading the files and all but the problem is that no matter what type of file I download it's never openable. Why is that and how do I fix it?
Thanks in advance!