PHP 手册
上一页 |  | 下一页

# http_send_last_modified

(PECL)

http_send_last_modified -- Send Last-Modified

## 说明

bool http_send_last_modified ( [int timestamp] )

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

> 注意: This function is supposed to be used in conjunction with 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`。

## 参见

the HttpResponse class if you are using PHP-5.1 and above

上一页 | 起始页 | 下一页
http_send_file | 上一级 | http_send_status