/ Published in: PHP
Forces a user to download a file, for e.g you have an image but you want the user to download it instead of displaying it in his browser.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// displays progress bar when downloading (credits to Felix ;-)) // file name of download file // reads the file on the server