摘要: 1.file_get_contents(path,include_path,context,start,max_length) path 必需。规定要读取的文件。include_path 可选。如果也想在 include_path 中搜寻文件的话,可以将该参数设为 “1”。context 可选。规定 阅读全文
posted @ 2019-08-15 09:52 calmly 阅读(1511) 评论(0) 推荐(0) 编辑
摘要: /** * @param string $url * @return mixed */ public function doGet($url) { //初始化 $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); // 执... 阅读全文
posted @ 2019-08-15 09:37 calmly 阅读(168) 评论(0) 推荐(0) 编辑