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

search for in the

http_match_request_header> <http_match_etag
Last updated: Fri, 13 Nov 2009

view this page in

http_match_modified

(PECL pecl_http >= 0.1.0)

http_match_modified最終更新日時を比較する

説明

bool http_match_modified ([ int $timestamp [, bool $for_range = false ]] )

指定された Unix タイムスタンプを、クライアントの HTTP ヘッダ If-Modified-Since あるいは If-Unmodified-Since と比較します。

パラメータ

timestamp

Unix タイムスタンプ。省略した場合は現在の時刻が使用されます。

for_range

TRUE に設定すると、通常は HTTP の範囲を検証するために使用されるヘッダが チェックされます。

返り値

timestamp がヘッダより前の時刻を表す場合に TRUE、 それ以外の場合に FALSE を返します。

参考



add a note add a note User Contributed Notes
http_match_modified
There are no user contributed notes for this page.

http_match_request_header> <http_match_etag
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites