Home >Backend Development >PHP Tutorial > 关于php清除缓存的脚本,该如何解决

关于php清除缓存的脚本,该如何解决

WBOY
WBOYOriginal
2016-06-13 13:42:58723browse

关于php清除缓存的脚本
对于脚本不了解,但是我想写个创建个php文件

$smarty->clearAllCache()

点击后就可以清除smarty的缓存,应该怎么做。详解!!!

------解决方案--------------------
说的是smarty的方法clearAllCache吧


实例化后,如果需要设定属性,,然后执行$smarty->clearAllCache()就好了
------解决方案--------------------

探讨

说的是smarty的方法clearAllCache吧


实例化后,如果需要设定属性,,然后执行$smarty->clearAllCache()就好了
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn