2015-10-28 PHPでブラウザにファイルをダウンロードさせるには <?php header('Accept-Ranges: bytes'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename=sosial-statistics.xml'); ?>