PHP Velho Oeste 2024

http_send_last_modified

(PECL pecl_http >= 0.1.0)

http_send_last_modifiedSend Last-Modified

Beschreibung

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

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

Hinweis: Diese Funktion sollte zusammen mit http_send_data(), http_send_file() und http_send_stream() benutzt werden.

Parameter-Liste

timestamp

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

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.

Siehe auch

  • die HttpResponse-Klasse, wenn sie PHP 5.1 oder höher benutzen

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top