2007-09-05から1日間の記事一覧
まずは基本。 header('Content-Disposition: attachment; filename="hoge.txt"'); header('Content-Type: application/octet-stream'); header('Content-Transfer-Encoding: binary'); header('Content-Length: '.strlen($buf)); print $buf; ファイルになっ…
まずは基本。 header('Content-Disposition: attachment; filename="hoge.txt"'); header('Content-Type: application/octet-stream'); header('Content-Transfer-Encoding: binary'); header('Content-Length: '.strlen($buf)); print $buf; ファイルになっ…