cache date and time
| From: | Mattia Wow | Date: | Mon, 03 Jun 2002 19:50:09 +0000 |
| Subject: | cache date and time | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-4556@lists.php.net to get a copy of this message | ||
Hi!
I want to chack the cache creation date of a cached
file.
It looks i can only check if the file exists
with
if( $smarty->is_cached("index.tpl",$id) ) { ... }
But I would like to get the last modification time of
the cached copy, to check if the datas in my db are
fresher than those, and I must regenerate the page.
Tia
Mattia
=====
--
Mattia
______________________________________________________________________
Non perderti un solo gol! Iscriviti al FIFA VIP Club
http://it.yahoo.com/mail_it/foot/?http://it.sports.yahoo.com/vipclub/index.html