摘要: <?php$file = 'monkey.gif'; if (file_exists($file)) { header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename='.basename($file)); header('Content-Transfer-Encoding: binary& 阅读全文
posted @ 2012-06-29 09:36 MR.Punk 阅读(1001) 评论(0) 推荐(1) 编辑