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

search for in the

http_match_request_header> <http_match_etag
Last updated: Fri, 26 Dec 2008

view this page in

http_match_modified

(PECL pecl_http >= 0.1.0)

http_match_modifiedVérifie la date de dernière modification

Description

bool http_match_modified ([ int $timestamp [, bool $for_range = FALSE ]] )

Vérifie si le timestamp Unix fourni est valide vis-à-vis de l'en-tête HTTP If-Modified-Since ou If-Unmodified-Since du client.

Liste de paramètres

timestamp

Timestamp Unix ou la date courante si ce paramètre est omis

for_range

si défini à TRUE, l'en-tête habituellement utilisé pour valider l'intervalle HTTP sera vérifié

Valeurs de retour

Retourne TRUE si le timestamp représente une date plus récente que l'en-tete, FALSE sinon.



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

http_match_request_header> <http_match_etag
Last updated: Fri, 26 Dec 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites