文字

http_send_last_modified

(PECL pecl_http >= 0.1.0)

http_send_last_modifiedSend Last-Modified

说明

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

Send a Last-Modified header with a valid HTTP date.

Note: 此函数应与 http_send_data() , http_send_file() http_send_stream() 一同使用。

参数

timestamp

a Unix timestamp, converted to a valid HTTP date; if omitted, the current time will be sent

返回值

成功时返回 TRUE , 或者在失败时返回 FALSE

参见

  • 如使用 PHP 5.1.0 及以后版本中为 HttpResponse 类。
上一篇: 下一篇: