cache内容输出

来源:互联网 发布:中东路事件 知乎 编辑:程序博客网 时间:2024/06/10 11:17

实际使用时,很多时候需要把 原文件保存为缓存文件~~~~~

 可以使用下面的方式进行

@ob_start();ob_implicit_flush(0);include($Path); // can include more$content = ob_get_clean();return $content;