摘要: 1 <?php 2 3 4 // 模拟 http 请求 5 function https_request($url,$data = null) 6 { 7 // php curl 发起get或者post请求 8 // curl 初始化 9 $curl = curl_init(); // curl 设置 10 curl_setopt($curl, CURLOPT_URL, $url); 11 cur 阅读全文
posted @ 2019-09-02 17:17 PHP--*** 阅读(4716) 评论(0) 推荐(0) 编辑