Forum und email

http_send_last_modified

(PECL pecl_http:0.1.0-1.5.5)

http_send_last_modified — Send Last-Modified

Descrizione

bool http_send_last_modified ([ int $timestamp ] )

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

Nota: Questa funzione dovrebbe essre utilizzata con le funzioni http_send_data(), http_send_file() e http_send_stream().

Elenco dei parametri

timestamp

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

Valori restituiti

Restituisce TRUE in caso di successo, FALSE in caso di fallimento.

Vedere anche:

  • la classe HttpResponse se si sta usando PHP-5.1 e successivi