Forum und email
http_match_request_header

http_match_request_header

(PECL)

http_match_request_header -- Match any header

Popis

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

Match an incoming HTTP header.

Seznam parametrů

header

The header name (case-insensitive)

value

The header value that should be compared

match_case

Whether the value should be compared case sensitively

Návratové hodnoty

Returns TRUE if header value matches, else FALSE.