http://phecoopkj4ytf3fokcfvykymg7zuhkwsoqbh5dgnwwee423delgexyqd.onion/page-1804050751-Supporting-conditional-HTTP-requests-in-PHP-PHP.html
= " GMT " ){
return false; } $d = DateTime::createFromFormat($format, $date); return $d & & $d- > format($format) == $date;}
// Below this is just used for the example
$etag = 'abcdefg';$last_mod = " Thu, 05 Apr 2018 06:47:00 GMT " ;
evaluateConditionalRequest($last_mod,$etag);
// OK then, output the test page
// include metadata necessary for revalidation
header( " Last-Modified: $last_mod " ,true);header( " ETag: $etag " ,true);
?