<u>复制代码</u> 代码如下: <br><?php <BR>$filename = '1.png'; <br>header("Content-Type: application/force-download"); <br>header('Content-Disposition: attachment; filename="'.$filename.'"'); <br>echo $filename; <br>?> <br>