PHP Velho Oeste 2024

http_get_request_headers

(PECL pecl_http >= 0.10.0)

http_get_request_headersリクエストヘッダを配列として取得する

説明

array http_get_request_headers ( void )

受け取った HTTP ヘッダの一覧を取得します。

パラメータ

返り値

受け取ったリクエストヘッダを連想配列で返します。

参考

add a note add a note

User Contributed Notes 1 note

up
0
ocus51 at gmail dot com
16 years ago
Keep in mind that this function replaces all "_" characters by "-" in headers names
To Top