Forum und email

http_send_last_modified

(PECL pecl_http:0.1.0-1.5.5)

http_send_last_modified — Send Last-Modified

Descrição

bool http_send_last_modified ([ int $timestamp ] )

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

Nota: Esta função é supostamente para ser usada em conjunto com http_send_data(), http_send_file() e http_send_stream().

Parâmetros

timestamp

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

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em falhas.

Veja também

  • a classe HttpResponse se você esta usando o PHP 5.1 e acima