Weedpacket wrote:The current file's path is also available in the FILE constant.
The code above is a script that is included in another file.
In this context, FILE tells the script to get its own modified date.
Also in this context, $_SERVER['SCRIPT_FILENAME'] - from another answer to my post - tells the script to get the date of the file that the browser is reading - the page that calls the include file. That's what I need.
Reason: All of my pages use, as a footer, the above script. When viewed , the reader wants to know how long it has been since the page has been updated. The reader wants to know if the information is current, or middle-aged, or ancient.
The date the script was updated means nothing to the reader. In fact, it would be misleading.
OTOH, now I know another useful constant: FILE . No doubt, someday knowing that will save me a lot of time researching or reinventing the wheel.
Thanks for your help.