Tag Archives: headers

Use PHP Headers to Force File Download

In apache, the file type will usually determine how the file is handled when viewing a website in our browser. For example, images, css, javascript, php, html (and other types) files are executed and displayed within the browser whereas PDF, ZIP, EXE and other unknown file types will be downloaded by the browser. Usually this [...]