downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

http_support> <http_match_modified
[edit] Last updated: Fri, 26 Apr 2013

view this page in

http_match_request_header

(PECL pecl_http >= 0.10.0)

http_match_request_headerMatch any 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

Return Values

Returns TRUE if header value matches, else FALSE.

See Also



add a note add a note User Contributed Notes http_match_request_header - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites