PHP Velho Oeste 2024

http_get_request_headers

(PECL pecl_http >= 0.10.0)

http_get_request_headersGet request headers as array

Description

array http_get_request_headers ( void )

Get a list of incoming HTTP headers.

Parameters

Return Values

Returns an associative array of incoming request headers.

See Also

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