我需要您对我的网站http://usb-online.fr的帮助。这是一个 php 文件托管网站,这是下载内容的一部分:
header("Content-Type: $mime; name=\"$fichier\"");
header("Content-Transfer-Encoding: binary");
header("Content-Length: $taille");
header('Content-Description: Fichier hebergé par usb-online.fr');
header("Content-Disposition: attachment; filename=\"$fichier\"");
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
ob_clean();
flush();
log_download($file,$infos['auteur'],$taille);
bunzip2($path);
如果你试试这个 url:
http ://usb-online.fr/file-download-822MjYzMg.html
你会看到一个下载框打开并且没有显示图像,这就是我想要的。但是用户<img src="http://usb-online.fr/file-download-822MjYzMg.html"/>
在网站上做的,他可以显示图像,我的服务器变得很忙。我不想让这个,我该怎么办?
http://usb-online.fr/file-download-822MjYzMg.html