Re: Automatic Last Modified Headers

From: Date: Thu, 10 Aug 2000 13:55:02 +0000
Subject: Re: Automatic Last Modified Headers
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-11134@lists.php.net to get a copy of this message
Hi John, If I understand you correctly, you could use something like $time = gmdate("F j Y",fileatime($filename)); header("Last-Modified: $time); Cheers, On Wed, 9 Aug 2000, John McKerrell wrote: > Hi, this is more a suggestion than anything else as I doubt it's > possible but is there a way of getting PHP to output the "Last-Modified" > header as the most recent date of all the files going into another file > (i.e. if there's a readfile statement of require, etc. this file's date > may be used). This would fix a number of problems that we are having, > any clues? > John > Randy Jonasz Software Engineer Click2net Inc. Web: http://www.click2net.com Phone: (905) 271-3550 "You cannot possibly pay a philosopher what he's worth, but try your best" -- Aristotle

« previous php.general (#11134) next »