PHP Velho Oeste 2024

http_send_last_modified

(PECL pecl_http >= 0.1.0)

http_send_last_modifiedEnviar cabecera Last-Modified

Descripción

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

Envía la cabecera Last-Modified con un formato de fecha HTTP válido.

Nota: Esta función debería ser utilizada en conjunción con http_send_data(), http_send_file() y http_send_stream().

Parámetros

timestamp

fecha Unix, convertida a fecha HTTP válida; si se omitiera, se enviaría la fecha actual

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error.

Ver también

add a note add a note

User Contributed Notes

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