New Zenner
- Join Date:
- Oct 2012
- Posts:
- 52
- Plugin Contributions:
- 0
Show Last-Modified in http header
i add the code:
<?php
$file = $_SERVER["SCRIPT_NAME"];
$break = Explode('/', $file);
$pfile = $break[count($break) - 1];
header('Last-Modified: '.gmdate('D, d M Y H:i:s',filemtime($pfile)).' GMT');
?>
but it displays the date which i installed the zen cart
i want to show in http header the date which is same as the records "products_last_modified" in zen_products table and "last_modified" in zen_categories.
what do i make this done?