PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

http_send_last_modified

(PECL pecl_http >= 0.1.0)

http_send_last_modifiedSend Last-Modified

Description

bool http_send_last_modified ([ int $timestamp = time() ] )

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

Note: This function should 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

PHP Manual