downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<http_match_etaghttp_match_request_header>
Last updated: Thu, 26 Jun 2008

http_match_modified

(PECL pecl_http:0.1.0-1.5.5)

http_match_modified — Match last modification

Description

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

Matches the given Unix timestamp against the clients If-Modified-Since resp. If-Unmodified-Since HTTP headers.

Parameters

timestamp

Unix timestamp; current time, if omitted

for_range

if set to TRUE, the header usually used to validate HTTP ranges will be checked

Return Values

Returns TRUE if timestamp represents an earlier date than the header, else FALSE.



add a noteadd a note User Contributed Notes
Match last modification
There are no user contributed notes for this page.




<http_match_etaghttp_match_request_header>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs