Easily issue a file to be downloaded instead of viewed inline a browser. More...
Static Public Member Functions | |
static | headers ($filename, $content_length) |
Easily issue a file to be downloaded instead of viewed inline a browser.
Makes you not having to write it again when you suddenly want to support Internet Explorer (hearsay, no idea which versions we support with the following code).
static download::headers | ( | $ | filename, | |
$ | content_length | |||
) | [static] |
$filename | string | |
$content_length | int |