http_send_last_modified

(PECL)

http_send_last_modified -- Send Last-Modified

Beskrivelse

bool http_send_last_modified ( [int timestamp] )

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

Bemærk: This function is supposed to be used in conjunction with http_send_data(), http_send_file() og http_send_stream().

Parameterliste

timestamp

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

Returneringsværdier

Returnerer TRUE ved succes, FALSE ved fejl.

Se også

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