Keep in mind that this function replaces all "_" characters by "-" in headers names
http_get_request_headers
(PECL pecl_http:0.10.0-1.5.5)
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()
- http_get_request_body_stream()
- класът HttpResponse, ако използвате PHP 5.1.0 или по-нова
http_get_request_headers
ocus51 at gmail dot com
13-May-2008 07:36
13-May-2008 07:36
