ドットインストール代表のライフハックブログ
semisecretsoftware.com This domain is registered for one of our customers. If this is your domain name, please visit this page to see how to register it as DNS zone into your account. Note: If you already have registered the DNS zone for your domain name, please wait for DNS propagation. Your web site will be displayed soon. It may take few minutes. *Do you know what a Phishing attack is? Suggeste
まずは基本。 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="'.basename($filepath).'"'); header('Content-Type: application/octet-stream'); header('Content-Transfer-Encodin
どうすんのかと思ったけど、 データをShift_JISに変換して出力 view.ymlに出力するHTTPヘッダを定義 で良かったのか。。。 <?php echo mb_convert_encoding(getHeader() . getBody(), 'sjis-win', mb_internal_encoding()); というビュー(csvSuccess.php)がある場合のview.ymlはこんな感じ。 csvSuccess: http_metas: content-disposition: attachment; filename=sample.csv content-type: application/octet-stream; name=sample.csv
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く