PHP Dokumentation: Function http-match-request-header
12. Januar 2010 von werner
http_match_request_header
(PECL pecl_http >= 0.10.0)
http_match_request_header — Match any header
Beschreibung
bool http_match_request_header ( string $header , string $value [, bool $match_case = false ] )
Match an incoming HTTP header.
Parameter-Liste
- header
the header name (case-insensitive)
- value
the header value that should be compared
- match_case
whether the value should be compared case sensitively
Rückgabewerte
Returns TRUE if header value matches, else FALSE.
Siehe auch
- http_match_etag() – Match ETag
- http_match_last_modified()