Esempio n. 1
0
 private function headerForView($filename, $size)
 {
     ////header("Content-Disposition: attachment; filename=" . urlencode($this->imapProxy->decodeMimeStr($filename)));
     header("Content-Type: " . QDImap::getMimeContentType($filename));
     header("Content-Length: " . $size);
 }