HTTP Функции
PHP Manual

http_match_request_header

(PECL pecl_http:0.10.0-1.5.5)

http_match_request_headerMatch any header

Описание

bool http_match_request_header ( string $header , string $value [, bool $match_case = FALSE ] )

Match an incoming HTTP header.

Список параметров

header

the header name (case-insensitive)

value

the header value that should be compared

match_case

whether the value should be compared case sensitively

Возвращаемые значения

Returns TRUE if header value matches, else FALSE.

Смотрите также


HTTP Функции
PHP Manual