摘要: // 1. 初始化 $ch = curl_init(); // 2. 设置选项 curl_setopt($ch, CURLOPT_URL, "http://test.com/index.jsp"); // 设置要抓取的页面地址 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // 抓取结果直接返回(如果为0,则直接输出内容到页面) curl_setop... 阅读全文
posted @ 2018-01-31 14:30 Quan7 阅读(1101) 评论(0) 推荐(0) 编辑