2011-04-22 ファイルをダウンロードさせる PHP <?php header('Content-Disposition: attachment; filename="hoge.hoge"'); header('Content-Type: application/octet-stream'); print $something; ?>