PHP Manual: http_match_request_header
http_match_request_header
Description
bool http_match_request_header ( string header, string value [, bool match_case = FALSE] )Match an incoming HTTP header.
Parameters
header
the header name (case-insensitive)
value
the header value that should be compared
match_case
whether the value should be compared case sensitively