Jump to content

last modified php page


rubing

Recommended Posts

Hey all!

 

I want to enable the client browser to know the last modified date of my dynamic php pages, therefore I incorporated the following command:

echo "Last modified: " . date("D F d Y h:i:s A", filemtime($_SERVER["SCRIPT_FILENAME"]));

 

Will this work on php pages who's output depends on a $_GET variable??

 

Link to comment
https://forums.phpfreaks.com/topic/112629-last-modified-php-page/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.