Documentation
filedownload
usage
void filedownload ( string path_to_file [, string download_name])
paramètres
path_to_file : the path to the file you want the user to download.
download_name : rather than using the original filename, provide your own personalized filename
Forces the user to download the file, instead of visualize it (in the case of images or PDF).
exemples
filedownload('../Files/media/picture1.jpg');