摘要: 登陆cookie存储至自定义目录$cookie_dir = tempnam('.', 'cookie');curl_setopt($curl, CURLOPT_COOKIEJAR, $cookie_dir);二次采集时调用curl_setopt($curl, CURLOPT_COOKIEFILE, $cookie_dir);//读取cookie文 阅读全文
posted @ 2014-02-13 10:53 统一B界 阅读(261) 评论(0) 推荐(0) 编辑