<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # 關于 PHP-Curl是一個輕量級的網絡操作類,實現GET、POST、UPLOAD、DOWNLOAD常用操作,支持方法鏈寫法 # 示例 ~~~html $curl = WechatIndexCommonClass::get('Curl'); ~~~ #### GET: ~~~html $curl->url(目標網址); ~~~ ##### POST: ~~~html $curl->post(變量名, 變量值)->post(多維數組)->url(目標網址); ~~~ ##### [](https://github.com/wenpeng/curl/blob/master/README.md#upload)UPLOAD: ~~~html $curl->post(多維數組)->file($_FILE字段, 本地路徑, 文件類型, 原始名稱)->url(目標網址); ~~~ ##### [](https://github.com/wenpeng/curl/blob/master/README.md#download)DOWNLOAD: ~~~html $curl->url(文件地址)->save(保存路徑); ~~~ ##### [](https://github.com/wenpeng/curl/blob/master/README.md#%E9%85%8D%E7%BD%AE)配置 參考:[http://php.net/manual/en/function.curl-setopt.php](http://php.net/manual/en/function.curl-setopt.php) ~~~html $curl->set('CURLOPT_選項', 值)->post(多維數組)->url(目標網址); ~~~ ##### [](https://github.com/wenpeng/curl/blob/master/README.md#%E8%87%AA%E5%8A%A8%E9%87%8D%E8%AF%95)自動重試 ~~~html // 出錯自動重試N次(默認0) $curl->retry(3)->post(多維數組)->url(目標網址); ~~~ ##### [](https://github.com/wenpeng/curl/blob/master/README.md#%E7%BB%93%E6%9E%9C)結果 ~~~html // 任務結果狀態 if ($curl->error()) { echo $curl->message(); } else { // 任務進程信息 $info = $curl->info(); // 任務結果內容 $content = $curl->data(); } ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看