Forum und email

http_send_last_modified

(PECL pecl_http:0.1.0-1.5.5)

http_send_last_modified — Send Last-Modified

Leírás

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() és http_send_stream().

Paraméterek

timestamp

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

Visszatérési értékek

Siker esetén TRUE értékkel tér vissza, ellenkező esetben FALSE értéket ad.

Lásd még