<?php <BR>$file = 'monkey.gif'; <br><br>if (file_exists<p>+本文来源gao!%daima.com搞$代*!码9网(</p><strong>搞gaodaima代码</strong>($file)) { <BR> header('Content-Description: File Transfer'); <BR> header('Content-Type: application/octet-stream'); <BR> header('Content-Disposition: attachment; filename='.basename($file)); <BR> header('Content-Transfer-Encoding: binary'); <BR> header('Expires: 0'); <BR> header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); <BR> header('Pragma: public'); <BR> header('Content-Length: ' . filesize($file)); <BR> ob_clean(); <BR> flush(); <BR> readfile($file); <BR> exit; <BR>} <BR>?> <BR>?<BR><?php <BR>header("Content-Type: application/force-download"); <BR>header("Content-Disposition: attachment; filename=ins.jpg"); <BR>readfile("imgs/test_Zoom.jpg"); <BR>?> <BR>