Posted in PHP onOctober 24, 2010
<?php $filename = '1.png'; header("Content-Type: application/force-download"); header('Content-Disposition: attachment; filename="'.$filename.'"'); echo $filename; ?>
PHP 强制下载文件代码
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@