摘要:        
cache_expire=$exp_time; $this->cache_path=$path; $this->CreateFolder($path); } //returns the filename for the cache private function fileName($key){ return $this->cache_path.$key; } //creates new cache files with the given data, $key== name of the cache, data the info/values to store public    阅读全文
        
            posted @ 2013-12-25 17:58
kwishly
阅读(239)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
function curlBy($url, $data=array()) { $ch = curl_init(); if(!empty($data)){ if (is_array($data) && $data) { $formdata = http_build_query($data); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $formdata); } } curl_setopt($ch, CURLOPT_URL, $url); curl_se...    阅读全文
        
            posted @ 2013-12-25 17:23
kwishly
阅读(313)
评论(0)
推荐(0)
        
        
 
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号