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

search for in the

http_send_status> <http_send_file
[edit] Last updated: Fri, 25 May 2012

view this page in

http_send_last_modified

(PECL pecl_http >= 0.1.0)

http_send_last_modifiedLast-Modified を送信する

説明

bool http_send_last_modified ([ int $timestamp = time() ] )

Last-Modified ヘッダに、有効な HTTP 日付を設定して送信します。

注意: この関数は、 http_send_data()http_send_file() そして http_send_stream() と組み合わせて使用することを想定しています。

パラメータ

timestamp

Unix タイムスタンプ。これは、有効な HTTP 日付に変換されます。 省略した場合は、現在の時刻が送信されます。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

参考

  • PHP 5.1.0 以降を使用している場合は HttpResponse クラス



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

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