Returns the headers for a browser download.
public downloadHeaders ( string $filename = 'unknown', string $cType = null, boolean $inline = false, string $cLength = null ) | ||
$filename | string | The filename of the download. |
$cType | string | The content-type description of the file. |
$inline | boolean | True if inline, false if attachment. |
$cLength | string | The content-length of this file. |