Sure. In my /usr/local/apache/htdocs dir I have:
-rw-rw-r-- 1 scott.ma scott.ma 20 Feb 14 12:36 test.php
Now, the date of this file is Feb 14 (it's only 20 bytes, something like phpinfo() 🙂
When the apache/php server serves this page, there is a header at the top like:
Date: Tue, 18 Feb 2003 16:37:14 GMT
Which is today's date. Now, what I want to spew is the date up above,
Date: Tue, 14 Feb 2003 12:36:54 GMT
But I'm not sure, other than hacking PHP, how to do this. Since SSI is handled first, I'm thinking I could shove a php scriptlet at the top to so something like get file date/time and echo it as a header. So, has anyone out there done anything like this?