Im trying to get a website to have a button that forces a download of a pdf.
Heres the html of the button:
Try removing the path to the file and just leave the file name in the content:
header('Content-Type: application/pdf'); header('Content-disposition: attachment; filename=ECM_IT_ResumeDownload.pdf');