http_send_status

(PECL pecl_http >= 0.1.0)

http_send_statusSend HTTP response status

說明

bool http_send_status ( int $status )

Send HTTP status code.

參數

status

HTTP status code (100-599)

回傳值

如果成功則回傳 TRUE,失敗則回傳 FALSE

參見

  • 如使用 PHP 5.1.0 及以後版本中為 HttpResponse 類別。

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top