HttpResponse::sendとは? わかりやすく解説

Weblio 辞書 > コンピュータ > PHP関数リファレンス > HttpResponse::sendの意味・解説 

HttpResponse::send

(No version information available, might be only in CVS)
HttpResponse::send — レスポンスを送信する

説明

static bool HttpResponse::send ( [bool clean_ob = TRUE] )
エンティティを送信します。
キャッシュ処理に成功すると、スクリプトは終了します。そして、 INI 設定 http.cache_log が設定されている場合には ログにエントリを書き出します。

パラメータ

clean_ob
事前に開始されている出力ハンドラとそのバッファを すべて破壊するかどうか。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

エラー / 例外

HttpHeaderException、HttpResponseException をスローします。

例 820. HttpResponse::send() の例
<?php
HttpResponse::setCache(true);
HttpResponse::setContentType('application/pdf');
HttpResponse::setContentDisposition("$user.pdf", false);
HttpResponse::setFile('sheet.pdf');
HttpResponse::send();
?>




このページでは「PHP関数リファレンス」からHttpResponse::sendを検索した結果を表示しています。
Weblioに収録されているすべての辞書からHttpResponse::sendを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からHttpResponse::send を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「HttpResponse::send」の関連用語

HttpResponse::sendのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



HttpResponse::sendのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
PHP Documentation GroupPHP Documentation Group
Copyright © 1997 - 2025 by the PHP Documentation Group.

©2025 GRAS Group, Inc.RSS