43 if (function_exists(
'mb_http_output')) {
44 mb_http_output(
'pass');
46 header(
'Content-Type: '.$this->mimetype);
47 if (preg_match(
"/MSIE ([0-9]\.[0-9]{1,2})/", $_SERVER[
'HTTP_USER_AGENT'])) {
48 header(
'Content-Disposition: inline; filename="'.$filename.
'"');
50 header(
'Cache-Control: must-revalidate, post-check=0, pre-check=0');
51 header(
'Pragma: public');
53 header(
'Content-Disposition: attachment; filename="'.$filename.
'"');
55 header(
'Pragma: no-cache');
65 public function addFile($filepath, $newfilename=
null)
addBinaryFileData(&$data, $filename, $time=0)
addFileData(&$data, $filename, $time=0)
download($name, $gzip=true)
addFile($filepath, $newfilename=null)
addBinaryFile($filepath, $newfilename=null)