http_send_data
(PECL pecl_http >= 0.1.0)
http_send_data — 任意のデータを送信する
説明
bool http_send_data
( string
$data
)(複数の) range リクエストをサポートする生のデータを送信します。
パラメータ
-
data -
送信するデータ。
返り値
成功した場合に TRUE を、失敗した場合に FALSE を返します。
参考
- http_send_file() - ファイルを送信する
- http_send_stream() - ストリームを送信する
- http_throttle() - HTTP 抑止処理
- http_send_content_type() - Content-Type を送信する
- http_send_content_disposition() - Content-Disposition を送信する
- PHP 5.1.0 以降を使用している場合は HttpResponse クラス