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.

Зауваження: This function should 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 в разі помилки.

Прогляньте Також

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top