HTTP_MATCH_REQUEST_HEADER(3) 1 HTTP_MATCH_REQUEST_HEADER(3)
http_match_request_header - Match any header
SYNOPSIS
bool http_match_request_header (string $header, string $value, [bool $match_case = false])
DESCRIPTION
Match an incoming HTTP header.
PARAMETERS
o $header
- the header name (case-insensitive)
o $value
- the header value that should be compared
o $match_case
- whether the value should be compared case sensitively
RETURN VALUES
Returns TRUE if header value matches, else FALSE.
SEE ALSO
http_match_etag(3), http_match_last_modified(3).
PHP Documentation Group HTTP_MATCH_REQUEST_HEADER(3)