摘要:
$memcache = new Memcache ( );$memcache->connect ( MEMCACHED_HOST, MEMCACHED_PORT ) or die ( "Could not connect" );//连接 $temp = $memcache->get ($key);//获得缓存内容$memcache->delete ($key);//删除缓存$memcache->set($key,$data,MEMCACHED_FLAG,86400);//把data的内容写到 缓存总 阅读全文