downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

http_match_request_header> <http_match_etag
[edit] Last updated: Tue, 18 Jun 2013

view this page in

http_match_modified

(PECL pecl_http >= 0.1.0)

http_match_modifiedComprobar si coincide la última modificación

Descripción

bool http_match_modified ([ int $timestamp = -1 [, bool $for_range = false ]] )

Comprueba si coincide la fecha Unix proporcionada con las cabeceras HTTP del cliente If-Modified-Since If-Unmodified-Since.

Parámetros

timestamp

fecha Unix, o si se omite, la fecha actual

for_range

si es TRUE, se comprobará la cabecera normalmente usada para validar rangos HTTP

Valores devueltos

Devuelve TRUE si la fecha Unix corresponde a una fecha anterior a la de la cabecera, o si no FALSE.

Ver también



add a note add a note User Contributed Notes http_match_modified - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites