http_send_last_modified

(PECL)

http_send_last_modified -- Send Last-Modified

Description

bool http_send_last_modified ( [int timestamp] )

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

Note: This function is supposed to be used in conjunction with http_send_data(), http_send_file() and http_send_stream().

Parameters

timestamp

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

Return Values

Returns TRUE on success or FALSE on failure.

See Also

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


Follow phpf1 on Twitter




F1 Site Family
AJAX F1
HTML F1
Java F1
JavaScript F1
PHP F1

Total time: 0.1337