private static function sendDownloadHeaders($mimeType, $suggestedFilename, $size) {
		header('Content-Type: '.$mimeType, true);
		header('Content-Disposition: attachment; filename="'.$suggestedFilename.'"', true);
		header('Content-Length: '.$size, true);
		header('Accept-Ranges: none', true);
		header('Cache-Control: no-cache', true);
		header('Connection: close', true);
	}
private static function sendDownloadHeaders($mimeType, $suggestedFilename, $size) {
		header('Content-Type: '.$mimeType, true);
		header('Content-Disposition: attachment; filename="'.$suggestedFilename.'"', true);
		header('Content-Length: '.$size, true);
		header('Accept-Ranges: none', true);
		header('Cache-Control: no-cache', true);
		header('Connection: close', true);
	}
private static function sendDownloadHeaders ( $ mimeType , $ suggestedFilename , $ size ) { header ( 'Content-Type: ' . $ mimeType , true ) ; header ( 'Content-Disposition: attachment; filename="' . $ suggestedFilename . '"' , true ) ; header ( 'Content-Length: ' . $ size , true ) ; header ( 'Accept-Ranges: none' , true ) ; header ( 'Cache-Control: no-cache' , true ) ; header ( 'Connection: close' , true ) ; }
Sends the appropriate response headers for a file download

@param string $mimeType the MIME type for the file
@param string $suggestedFilename the suggested name to save the file with (including an extension)
@param int $size the size of the download in bytes
Sends the appropriate response headers for a file download