Blog

Force Download Files in PHP

Publicada el 29 March, 2017

One of the most common problems that we find is to force the download of a certain file from the client’s browser, thus preventing it from opening.
For this we can use the following function in PHP.