Keep in mind that this function replaces all "_" characters by "-" in headers names
http_get_request_headers
(PECL pecl_http >= 0.10.0)
http_get_request_headers — Get request headers as array
Описание
array http_get_request_headers
( void
)
Get a list of incoming HTTP headers.
Параметри
Връщани стойности
Returns an associative array of incoming request headers.
Вж. също
- http_get_request_body() - Get request body as string
- http_get_request_body_stream() - Get request body as stream
- класът HttpResponse, ако използвате PHP 5.1.0 или по-нова
http_get_request_headers
ocus51 at gmail dot com
13-May-2008 02:36
13-May-2008 02:36
