摘要: index.php用PHP操作Memcached的演示<?phpinclude('db.php');$memcache = new Memcache;$memcache->connect('localhost', 11211) or die ("Could not connect");//缓存服务器中,都是键值对,这里我们设定唯一的键$key = md5('www.crazyant.net'); $cache_result = array();//根据键,从缓存服务器中获取它的值$cache_result = $m 阅读全文
posted @ 2013-04-10 22:40 3wmao 阅读(227) 评论(0) 推荐(0) 编辑