标签:http ar sp 2014 bs res tt php nbsp
$guangzhou_tmp_key = ‘guangzhouchezhan‘;
$guangzhou_arr = $memcache->get($guangzhou_tmp_key);
if(!$guangzhou_arr){
$guangzhou_data = curl(‘http://hezuo.xcar.com.cn/chezhan/2014gz_interface.php‘);
$guangzhou_arr=unserialize($guangzhou_data);
$memcache->set($guangzhou_tmp_key,$guangzhou_arr,MEMCACHE_COMPRESSED,3600*6);
}
标签:http ar sp 2014 bs res tt php nbsp
原文地址:http://www.cnblogs.com/afei-happy/p/4075971.html