PHP Velho Oeste 2024

http_send_status

(PECL pecl_http >= 0.1.0)

http_send_statusHTTP レスポンスステータスを送信する

説明

bool http_send_status ( int $status )

HTTP ステータスコードを送信します。

パラメータ

status

HTTP ステータスコード (100-599)。

返り値

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

参考

  • PHP 5.1.0 以降を使用している場合は HttpResponse クラス

add a note add a note

User Contributed Notes 1 note

up
0
zweibieren at yahoo dot com
9 years ago
See also http_response_code.  It performs much the same function; and its notes describe response codes in detail.
To Top