55 if (function_exists(
'mb_http_output')) {
56 mb_http_output(
'pass');
58 header(
'Content-Type: ' . $this->mimetype);
59 if (preg_match(
"/MSIE ([0-9]\.[0-9]{1,2})/",
$_SERVER[
'HTTP_USER_AGENT'])) {
60 header(
'Content-Disposition: attachment; filename="' . $filename .
'"');
62 header(
'Cache-Control: must-revalidate, post-check=0, pre-check=0');
63 header(
'Pragma: public');
65 header(
'Content-Disposition: attachment; filename="' . $filename .
'"');
67 header(
'Pragma: no-cache');
77 abstract function addFile($filepath, $newfilename = null);
85 abstract function addBinaryFile($filepath, $newfilename = null);
94 abstract function addFileData(&$data, $filename, $time = 0);
addFile($filepath, $newfilename=null)
download($name, $gzip=true)
addBinaryFileData(&$data, $filename, $time=0)
addBinaryFile($filepath, $newfilename=null)
addFileData(&$data, $filename, $time=0)