2016年5月16日

PHP语言 -- Smarty缓存

摘要: include("init.inc.php"); $file = "./cache/newtesta.html"; //当前页面对应的缓存页面 $cachetime = 10; //设置时间是10秒 if(!file_exists($file)||(filemtime($file)+$cachetimeQuery($sql); $marty->assign("shuju",$attr);... 阅读全文

posted @ 2016-05-16 09:18 一方通行o 阅读(163) 评论(0) 推荐(0) 编辑

导航