快取技術
<?php ob_start();//开启缓存 // $c//从缓存中获取内容 $c//localhost/weizhuan/detail.php?aid=349&uid=1534'); ob_end_clean();//关闭缓存并清空 /***缓存结束***/ file_put_contents("ceshi2.html", $content); echo $content; echo "ok"; ?>
ob_start();//開啟快取
// $c//從快取取得內容
$c//localhost/weizhuan/detail.php ?aid=349&uid=1534');
ob_end_clean();//關閉快取並清空
/***快取結束***/
file_put_contents("ceshi2.html; > echo $content;
echo "ok";
?>