摘要: <?php$file = '文件路径和名字'; 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 @ 2013-05-02 15:09 _Dongzi_ 阅读(714) 评论(0) 推荐(0) 编辑