/ Published in: PHP
Serves an external document for download as an HTTP attachment.
Expand |
Embed | Plain Text
// Serves an external document for download as an attachment. // example usage: download_file('whatever.wmv'); function download_file($filename, $mimetype = 'application/octet-stream') { }
You need to login to post a comment.
